Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stop when the field length is reached
Message
From
08/07/2002 11:40:49
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00676137
Message ID:
00676160
Views:
18
>>>Hi evrybody,
>>>
>>>When the user enters data into the field, if the maximum length of the field is riched, the entering is continuing in the next field. How can I prevent it, e.g. when the maximum length is riched, the cursor stays in the field and no more keystrokes are accepted?
>>>
>>>Thanks in advance.
>>
>>
>>SET CONFIRM ON
>>
>>
>>HTH
>
>It doesn't fire Valid and LostFocus when the last symbol is typed, so I can not use it.

So you need to fire one of this events and stay in the control?
Then the suggestion with condition check on the interactivechage event is appropriate to your situation.

Kind Regards
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform