Does anybody how to assign /*-+ keys from (right most) numeric key pad to an ACTION.
In order to perform QUICK numeric input for calculations I need numeric key pad for input of mass numeric data and perform plus or minus procedures.
So eg:
ON KEY PLUS ACTION Add_Procdure()
ON KEY MINUS ACTION Minus_Procdure()
etc.
Thanks !
Serge
ON KEY Question
Moderator: Rathinagiri
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
ON KEY Question
There's nothing you can do that can't be done...
- vagblad
- Posts: 160
- Joined: Tue Jun 18, 2013 12:18 pm
- DBs Used: MySQL,DBF
- Location: Thessaloniki, Greece
Re: ON KEY Question
Serge,
ON KEY ADD ACTION MSGDEBUG("+")
ON KEY SUBTRACT ACTION MSGDEBUG("-")
ON KEY MULTIPLY ACTION MSGDEBUG("*")
ON KEY DIVIDE ACTION MSGDEBUG("/")
These are all defined in the include\i_keybd.ch file if you want to check it out for more.Hope it helps!
ON KEY ADD ACTION MSGDEBUG("+")
ON KEY SUBTRACT ACTION MSGDEBUG("-")
ON KEY MULTIPLY ACTION MSGDEBUG("*")
ON KEY DIVIDE ACTION MSGDEBUG("/")
These are all defined in the include\i_keybd.ch file if you want to check it out for more.Hope it helps!
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
Email: vagblad@gmail.com, Skype: vagblad
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: ON KEY Question
Thanks Vagelis !
It works fine! Forgot all about i_keybd.ch ...
Serge
It works fine! Forgot all about i_keybd.ch ...
Serge
There's nothing you can do that can't be done...