Truedbgrid4, marqueeStyle = floatingEditor does not leave the column with tab

Posted by: juan.ome on 24 March 2022, 6:43 pm EST

    • Post Options:
    • Link

    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

  • Posted 25 March 2022, 8:00 am EST

    [Internal Tracking ID - C1WIN-27137]

  • Posted 25 March 2022, 8:00 am EST

    Hi,

    We could see the issue at our end. This seems like a bug. We have reported the issue to the development team and will let you know as soon as we have an update. In the meantime, as a workaround, you can handle the KeyDown event of the C1TrueDBGrid to check if the Tab key is pressed. If so, you can use the SelectNextControl method to navigate to the next control. Kindly refer to the attached sample showing the same.

    Best Regards,

    Kartik

    UserControlTab_TDBG.zip

  • Posted 12 April 2022, 3:14 pm EST

    thanks, we applied your suggest,the SelectNextControl method and it is doing almost the same like when type tab, but doing that the problem is that the rowcolchage is not fired. Do you know if the internal issue reported was fixed?

  • Posted 13 April 2022, 5:16 am EST

    Hi,

    The ETA for the issue fix is the 2022v2 release.

    Best Regards,

    Kartik

  • Posted 6 December 2022, 7:09 am EST

    Hi,

    We are glad to let you know that this issue has been fixed in the latest 2022v3 (584) release. You can install the latest builds through NuGet, whose link is given below. The 2022v3 (584) release will be available for installation through ComponentOne Control Panel in a few days.

    (https://www.nuget.org/packages/C1.Win.C1TrueDBGrid/4.8.20223.584)

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels