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
GIRD Control need KEYPRESS Event.
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: GIRD Control need KEYPRESS Event.
It's a good idea.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
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.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: GIRD Control need KEYPRESS Event.
Thanks for the info Roberto.
Same way, can we capture mouse clicks also in a global way?
Same way, can we capture mouse clicks also in a global way?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: GIRD Control need KEYPRESS Event.
OnMouseClick window event works only over windows 'surface'.rathinagiri wrote:Thanks for the info Roberto.
Same way, can we capture mouse clicks also in a global way?
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.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: GIRD Control need KEYPRESS Event.
Thanks Roberto. In that case, can the mouse click event outside a modal window (ie., trying to go out from Modal window) be captured?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: GIRD Control need KEYPRESS Event.
I'm not sure... I'll should research it to give a right answer...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?
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: GIRD Control need KEYPRESS Event.
Thanks Master..
Shridhar
Shridhar
Re: GIRD Control need KEYPRESS Event.
Hi Master,
Could you please inculde this KEYPRESS event in the 2.9.6 release ?
Thanks in Advance...!
Shridhar
Could you please inculde this KEYPRESS event in the 2.9.6 release ?
Thanks in Advance...!
Shridhar