S
Stefan
Hi,
i'm using code below to check if control is a button
how can i check for more types of controls(like checkbox,...)
in one 'nice piece" of code
I tried to make a select case with 'typeof...is' but i didn't get it work
If Not TypeOf ctr Is Button Then
AddHandler ctr.LostFocus, AddressOf meLostFocus
AddHandler ctr.GotFocus, AddressOf meGotFocus
End If
thanx in advance
stefan
i'm using code below to check if control is a button
how can i check for more types of controls(like checkbox,...)
in one 'nice piece" of code
I tried to make a select case with 'typeof...is' but i didn't get it work
If Not TypeOf ctr Is Button Then
AddHandler ctr.LostFocus, AddressOf meLostFocus
AddHandler ctr.GotFocus, AddressOf meGotFocus
End If
thanx in advance
stefan