"kd" <kd@discussions.microsoft.com> schrieb:
Me - refers to the form name and not the current object name.
'Me' does exactly the same what 'this' does in C++, Java, and C#. Inside an
event handler you can get a reference to the control raising the event in
the value passed to the handler's 'sender' parameter:
\\\
Public Sub Button1_Click(...)...
Dim SourceControl As Button = DirectCast(sender, Button)
SourceControl.Enabled = False
...
End Sub
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>