Way to store the current event to a variable ?

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

Let's say the event is form Load....

Is there code you could use within that Sub that would return that the
current event is Load ?

i.e.,

Me.CurrentEvent

or something like that ?
 
Rob said:
Let's say the event is form Load....

Is there code you could use within that Sub that would return that the
current event is Load ?

i.e.,

Me.CurrentEvent

or something like that ?


Have a look at System.Diagnostics.StackTrace.


Armin
 
Rob said:
Let's say the event is form Load....

Is there code you could use within that Sub that would return that the
current event is Load ?

i.e.,

Me.CurrentEvent

Check out 'MethodBase.GetCurrentMethod'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top