Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - Child Ctrl, selected row, focus issue
Re: GridCtrl - Child Ctrl, selected row, focus issue [message #10133 is a reply to message #10130] |
Thu, 21 June 2007 22:26  |
|
kcabobert wrote on Thu, 21 June 2007 14:15 | Should not EnterLikeTab() make <enter> actually behave like <tab>? In my particular case, I need for <enter> to actually just move to the next row, then on the last row pass focus onto the next ctrl.
Perhaps the best solution is to derive another class from GridCtrl so that I can just override 'Key' and make it behave as needed?
|
Yes, EnterLikeTab makes enter to behave exactely the same way like tab except one thing. If under cursor is not shown control enter makes it visible and then pass focus to the next visible control.
Your case is very specific. Deriving new class is one solution, another one is to add callback which if is definied it is call instead of Key() body.
|
|
|
 |
|
GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 08:55
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 22:26
|
Goto Forum:
Current Time: Fri Jul 18 10:47:18 CEST 2025
Total time taken to generate the page: 0.03924 seconds
|