Get the name of current control

JasperK

New member
Local time
Today, 22:54
Joined
Dec 20, 2007
Messages
7
Can somebody tell me how i can get the name of the current control?!

For example, on a form with a textfield with the name Text1:

Private sub Text1_Afterupdate()
Msgbox Text1.name
End sub

Only now i want to also to work with Text2. It is possible to do the same als in the text1 example, but i would like to know another option that is the same for all controls.

Many thanks in advance,

Jasper
 

Users who are viewing this thread

Back
Top Bottom