Datagrid Tab out With SelectNextControl

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
S

Stan Sainte-Rose

I still have a problem using the datagrid with my Class
when I press the Tab Key.
I add this condition
If msg.wparam.ToInt32()=Cint(Keys.tab) Then
MyBase.SelectNextControl(Me, True, True, True, True)
Return true
End If

I catch the Tab but it doesn't move to the next control.

Any help ?

Stan
 
Ok, I got it...

It was
MyBase.Parent.SelectNextControl(MyBase.Parent, True, True, True, True)



Stan
 
Back
Top