Numeric keypad

Post Reply
pawelu
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland
Contact:

Numeric keypad

Post by pawelu »

Hi,

I have simple forms with several button control and get control. They represent numeric keypad button,decimal separator and sign char. How to write function where get control is still focused and continuously press button insert char with right position in get.

Sample:
Button 1 + Button 2 + Decimal , + Button 0 + Button 2
Decimal , + Button 2
Set cursor in the get and write in current position in the get object

Regards
Pawel
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Pawel,

Do you mean like a calculator ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
pawelu
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland
Contact:

Post by pawelu »

Antonio,

Yes, I would write keypad like calculator with automatic recalculated bound say control e.g. product price. (user input quantity, say control show quantity * price).

Pawel
Post Reply