dont focus next controls
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Protected Overrides Sub OnEnter(ByVal e As System.EventArgs) MyBase.OnEnter(e) If Not Me.ReadOnly Then Me.BorderStyle = Windows.Forms.BorderStyle.FixedSingle End Sub Protected Overrides Sub OnLeave(ByVal e As System.EventArgs) MyBase.OnLeave(e) If Not Me.ReadOnly Then Me.BorderStyle = Windows.Forms.BorderStyle.Fixed3D End Sub
After adding this code, when i try to shift next control by pressing tab key ; why cant i focus to the next control ?