Page 1 of 1
GIRD Control need KEYPRESS Event.
Posted: Fri Oct 02, 2009 12:56 pm
by shridhar
GIRD Control need KEYPRESS Event.
When USER press any key (range A-Z,0-9) on GRID a KEYPRESS event should fire carring with Key pressed value.
Hi Rathi,
Please let me know if already exists this event.
Thanks in Advance.
Shridhar
Re: GIRD Control need KEYPRESS Event.
Posted: Fri Oct 02, 2009 4:26 pm
by Roberto Lopez
shridhar wrote:GIRD Control need KEYPRESS Event.
When USER press any key (range A-Z,0-9) on GRID a KEYPRESS event should fire carring with Key pressed value.
Hi Rathi,
Please let me know if already exists this event.
Thanks in Advance.
Shridhar
It's a good idea.
Anyway, please consider that you alway could use ON KEY command.
In the ON KEY procedure you've defined, you could ask for 'FocusedControl' property, to know if (ie) a grid is focused in the current window and code it as you need.
Regards,
Roberto.
Re: GIRD Control need KEYPRESS Event.
Posted: Fri Oct 02, 2009 4:51 pm
by Rathinagiri
Thanks for the info Roberto.
Same way, can we capture mouse clicks also in a global way?
Re: GIRD Control need KEYPRESS Event.
Posted: Fri Oct 02, 2009 5:15 pm
by Roberto Lopez
rathinagiri wrote:Thanks for the info Roberto.
Same way, can we capture mouse clicks also in a global way?
OnMouseClick window event works only over windows 'surface'.
Controls capture mouse, so this event do not work inside controls.
Anyway, usually you don't need to capture mouse in controls, since the default action is the one desired (ie: button click).
Regards,
Roberto.
Re: GIRD Control need KEYPRESS Event.
Posted: Sat Oct 03, 2009 12:35 am
by Rathinagiri
Thanks Roberto. In that case, can the mouse click event outside a modal window (ie., trying to go out from Modal window) be captured?
Re: GIRD Control need KEYPRESS Event.
Posted: Sat Oct 03, 2009 12:56 am
by Roberto Lopez
rathinagiri wrote:Thanks Roberto. In that case, can the mouse click event outside a modal window (ie., trying to go out from Modal window) be captured?
I'm not sure... I'll should research it to give a right answer...
Regards,
Roberto.
Re: GIRD Control need KEYPRESS Event.
Posted: Mon Oct 05, 2009 6:01 am
by shridhar
Thanks Master..
Shridhar
Re: GIRD Control need KEYPRESS Event.
Posted: Mon Oct 05, 2009 6:14 am
by shridhar
Hi Master,
Could you please inculde this KEYPRESS event in the 2.9.6 release ?
Thanks in Advance...!
Shridhar