Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Callback and moving cursor by arrows key
Re: Callback and moving cursor by arrows key [message #6955 is a reply to message #6951] |
Tue, 05 December 2006 21:55   |
Werner
Messages: 234 Registered: May 2006 Location: Cologne / Germany
|
Experienced Member |
|
|
forlano wrote on Tue, 05 December 2006 20:45 | Hello,
I move the cursor of the arrayctrl by using the up and down arrow keys. I would like to intercept this action. None of the existing When* works. Perhaps I missed something or I need to override WhenBar?
Luigi
|
What about
...
void OnCursor()
{
PromptOK("Cursor moved!");
}
...
ArrayCtrl my_array_ctrl;
...
my_array_ctrl.WhenCursor = THISBACK(OnCursor);
...
?
Werner
[Updated on: Tue, 05 December 2006 22:26] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 04:21:29 CEST 2025
Total time taken to generate the page: 0.01242 seconds
|