Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box Entry Restriction
Message
From
28/08/2000 21:25:57
 
 
To
27/08/2000 23:23:03
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00409579
Message ID:
00410097
Views:
22
Okay, got it. Still new to VFP but I have dealt with this before. In a simliar situation I have set a form method called ValidEntryCheck(nObjectId). Each object has a simliar T/F property. Each time a user tries to move focus to another object - the ValidEntryCheck verifies all objects requiring input are filled in (using the object array) before focus shift is allowed. If there is a REQUIRED entry not completed, the ValidEntryCheck() returns a no-focus call to the gotfocus event of the object the user is trying to move to and returns the object ID of the object to return to. I am offline from my system today otherwise I would send a sample.

NB - I am not validating data with the ValidEntryCheck, just the ability of the user to pass to another object. Some have a similar function using the LostFocus method to call the ValidEntryCheck.

Ric
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform