ON KEY Question

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

ON KEY Question

Post by serge_girard »

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
There's nothing you can do that can't be done...
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: ON KEY Question

Post by vagblad »

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!
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: ON KEY Question

Post by serge_girard »

Thanks Vagelis !

It works fine! Forgot all about i_keybd.ch ...

Serge
There's nothing you can do that can't be done...
Post Reply