Rob,
By convention, sender usually represents the object that has raised an event.
If you know the type of the object you can convert it to its actual type and
then reference any of the object's properties, etc.
For example, if you know that sender is a button:
Dim btn As Button = CType (sender, Button)
Now you have access to the button's properties and methods in the btn
reference.
Kerry Moorman
"Rob" wrote:
I see that MsgBox(sender.ToString()) will return a string that includes the
Text value of a button...
Is there a way to return only the Text value (i.e., some additional property
designate) ?