Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5 Valid Clause in a Grid not Functioning Properly
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
VFP 5 Valid Clause in a Grid not Functioning Properly
Miscellaneous
Thread ID:
00589813
Message ID:
00589813
Views:
101
I am having a problem with a valid clause of a text box in a grid returning .f. but allowing the control to lose focus. Here is the scenario:

The form (contained in a formset) has a grid with three text boxes. On the same form there are some command buttons. If I enter invalid data in the text box a message box with an error message is displayed, I return 0 and the focus remains correctly in the text box. If I then click on one of the command buttons, the command button gets the focus, my message box about the invalid data is displayed and then the command button incorrectly gets the focus.

I have spent many hours on this problem and I would appreciate any assistance.
TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Next
Reply
Map
View

Click here to load this message in the networking platform