Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character...
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00518404
Message ID:
00518419
Views:
9
Many developers don't fully understand the difference between the InputMask and the Format property. I still get stuff confused with those 2 props.

I think it helps to think of an InputMask as a stencil that you would use to spray paint your street number on the curb by your house. Once you have painted [entered] the numbers, you remove [do not save] the stencil [mask]. All that remains are the numbers [data]. Now the Format of the street number would be represented by a 9 for each number needed.

>Wow, you not only beat me to it, you added all sorts of other information that one could find by reading the help file. < g,d&r >
>
>Michelle
>
>>Put KRA! in the Format property. The K is for SelectOnEntry [optional], the R means to not save the mask characters to the ControlSource field [also optional]. In the InputMask, put (xxx) xxx-xxxx This is a typical phone number format, but this is only an example. The x's allow any input, but because the format property also has A and !, the control will only accept characters and will convert to uppercase.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform