Datagrid Tab out With SelectNextControl

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
 
S

Stan Sainte-Rose

Ok, I got it...

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



Stan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top