please explain this to me : - CType(sender, Control).Name)
what does sender and control mean here ,
any hlp appreciated
Printable View
please explain this to me : - CType(sender, Control).Name)
what does sender and control mean here ,
any hlp appreciated
"sender" is the object that was passed in to your event procedure where you have that code. The CType is casting the object to a Control type and accessing the control's .Name property.