ExtremeFitness
asked on
Set value in a masked edit box.... -- Easy 500!!! --
Im trying to set a value in a maked edit box.... I keep getting an Invalid property Value
Mask = "$0.00"
Format = "$#,##0.00"
Trying to set the value in code with txtRefundGst = 0 where txtRefundGst is the MEB
HEEEELLLLPPPP!!!!!
Mask = "$0.00"
Format = "$#,##0.00"
Trying to set the value in code with txtRefundGst = 0 where txtRefundGst is the MEB
HEEEELLLLPPPP!!!!!
ASKER
Im trying to ver any valid currency.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok maybe the Masked edit box is not for me... :)
It's not clear what you expect. The mask of $0.00 means that that is the only value that is legal. Try $#.##.
Also you must conform to the mask. Manually it will beep at you, Programatically it raises an error.
So you need
txtRefundGst.Text = "$0.00"