Got / LostFocus

sethindeed

Centurion
Joined
Dec 31, 1969
Messages
118
Location
Montreal Canada
I have a textbox that needs to perform certain actions on Got / LostFocus (old VB6 structure).
Looks like those events are gone in net...
Is there any .net equivalent ?

thx
 
When I do so, my code get stuck in an infinite loop :(
Here is my code

TextBox1_Enter
TextBox1.BackColor = SystemColors.Control
TextBox1.BorderStyle = BorderStyle.Fixed3D
End Sub

It is just keeping this sub over and over ( changing the properties seems to launch the Enter event over and over )
 
Back
Top