0

I am looking to see if there is an Events trigger for well... Events. I'm making an idle timeout function and the thought of having to call my function for every procedure seems a bit unnecessary. More specifically OnClick events. I do have an DoEvents loop that is constantly going. I there a way to find what is being triggered via DoEvents? Or DoEvents Returns what Event is running.

1 Answer 1

1

That would be WithEvents - poorly documented but quite handy. Recently, I wrote an article on a different subject where WithEvents proved extremely useful:

Create Windows Phone Colour Palette and Selector using WithEvents

It also contains a link to a tutorial by John Colby.

Sign up to request clarification or add additional context in comments.

2 Comments

This is perfect. Is there anymore information on WithEvents that you can link me?
Only old stuff, I believe. Here is one by my good friend Shamil Salakhetdinov: Using Dynamic External Event Procedures. And another: Programming WithEvents

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.