Page 1 of 1

Numeric keypad

Posted: Fri Oct 07, 2005 12:03 pm
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

Posted: Fri Oct 07, 2005 12:56 pm
by Antonio Linares
Pawel,

Do you mean like a calculator ?

Posted: Fri Oct 07, 2005 3:41 pm
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