Subject | TIB_CtrlGrid and tab order/focus |
---|---|
Author | mircostange |
Post date | 2002-06-26T14:33:21Z |
Hi Everyone,
I am having problems to get a TIB_CtrlGrid, which contains a number
of edit boxes to work with the tab order and focus. The grid is on a
dialog and has a taborder and tabStop=true. I can tab-cycle through
the dialog controls, including the grid, but not through the edit
boxes (or controls in general) inside the grid.
When I click into one of the contained controls, I can tab-cycle
through the controls inside the grid, but not out into the dialog
again.
Anyone known how to accomplish this? Furthermore, I would like to
start the dialog with the 1st control inside the grid having the
focus. However, setting the focus to the grid doesn't "forward" the
focus to the 1st control and setting the focus to the control
directly (e.g. edit1.setFocus() ) has no effect at all.
Thank you for any hints.
Mirco
I am having problems to get a TIB_CtrlGrid, which contains a number
of edit boxes to work with the tab order and focus. The grid is on a
dialog and has a taborder and tabStop=true. I can tab-cycle through
the dialog controls, including the grid, but not through the edit
boxes (or controls in general) inside the grid.
When I click into one of the contained controls, I can tab-cycle
through the controls inside the grid, but not out into the dialog
again.
Anyone known how to accomplish this? Furthermore, I would like to
start the dialog with the 1st control inside the grid having the
focus. However, setting the focus to the grid doesn't "forward" the
focus to the 1st control and setting the focus to the control
directly (e.g. edit1.setFocus() ) has no effect at all.
Thank you for any hints.
Mirco