Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InteractiveChange() in edit box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00794305
Message ID:
00794344
Views:
21
>I would just do this in the Valid for the Editbox instead. Use ALINES() to populate an array with the contents of the editbox. If alen() of the array is greater than three, then they've got too many lines. Then loop through each row of the array and see if the len() greater than 40.

The only problem with using the valid() event is that it doesn't fire until right before the control looses focus. Using the interactivechange or keypress event checks the value as you are typing.

Einar
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform