BD
2003-10-25 13:11:02 UTC
How to jump to a certain column even the user click on another column?
I use the MarqueeStyle = dbgHighlightRow and when the user hit the
Enter key I set:
MarqueeStyle = dbgFloatingEditor
Col = 0 (It could be another col)
EditActive = True (To select the content of the column)
And all work fine.
When the user click with the mouse on any column, I want the cursor
jump to the column I intend (Col 0 in this case) of the active row, no
mater what the column the user click. The code above don't work with
the click because if the user click in the Col 3 the cursor remain in
that Col.
I prefer the user enter in edit mode only with DblClick but I can't
stop the edit mode with the build in click event of the data grid.
Thanks in advance
Regards
BD
I use the MarqueeStyle = dbgHighlightRow and when the user hit the
Enter key I set:
MarqueeStyle = dbgFloatingEditor
Col = 0 (It could be another col)
EditActive = True (To select the content of the column)
And all work fine.
When the user click with the mouse on any column, I want the cursor
jump to the column I intend (Col 0 in this case) of the active row, no
mater what the column the user click. The code above don't work with
the click because if the user click in the Col 3 the cursor remain in
that Col.
I prefer the user enter in edit mode only with DblClick but I can't
stop the edit mode with the build in click event of the data grid.
Thanks in advance
Regards
BD