Alan Bourke wrote on 2015-08-24: 
>  I have a textbox bound to a character field. I want to constrain input
>  to 2-decimal-place numbers (but still stored as a string). What
>  combination of InputMask and Format properties is best? 99999.99 sort of
>  works but is a pain.
> 
> 
>  --
>    Alan Bourke
>    alanpbourke (at) fastmail (dot) fm

Alan,

Have you thought about adding _Access and _Assign methods to the Value?
The textbox would see it as a number, The _Access will return a string. The
_Assign will convert it to a number.

It would be a special class for this need.

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to