Text box manipulation

khooweihiong
10-13-2009, 03:38 AM
Hi all,

I have seen some text boxes function like this:

the text boxes contain a fixed "." at the right-hand side of the text box. When ppl type in the amount, the amount appears digit by digit from right to left and when they type ".", the digits stop moving and moves after "." for two decimal places. I wonder how to format the text box to behave like this. Any advice or reference.


Thanks.

Edwin Alex
10-13-2009, 04:24 AM
Set the Textbox's Alignment Property To Right Justify..
It will display the text from right to left..
Then,
You have to set the length as two after typing "." You should not allow to type more than two characters.

vb5prgrmr
10-13-2009, 07:55 PM
Masked edit control people...


Good Luck

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum