Posted 24 March 2022, 6:43 pm EST
I have a app that uses an UserControl on a form, the UserControl has 3 controls like 2 textbox and a truedbgrid with the property marqueeStyle = floatingEditor. In run time, the focus starts on Textbox1, type TAB and the focus chage to Textbox2, type TAB and the focus chage to the truedbgrid on the editable column, but if I type TAB again, I hope that the focus return to Texbox1 (like visual basic 6 behavior), but it never happens, the grid does not lost the focus typing TAB; to leave the grid must be with the mouse.
I need the behavior like visual basic 6, It means, when I tape TAB, all the controls on the UserControl take the focus according with the tabIndex property.
When I did the same sample over a Form, not a usercontrol, it works fine.PruebasDragGrid (1).zip