Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Phone number text box
Message
 
To
11/09/2002 17:33:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00699523
Message ID:
00699583
Views:
23
This message has been marked as the solution to the initial question of the thread.
Tyler,

>its of type numeric

try this in the GotFocus:
IF EMPTY (THIS.Value)
  KEYBOARD '403' PLAIN CLEAR
ENDIF
I currently can't think of another way to accomplish this, since I don't think that you can assign only the left portion of a number to a Value property ... But if I were you, I'd rather use a character field to store phone numbers.

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform