Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Form ToolBar
Message
From
13/04/2000 13:42:00
 
 
To
13/04/2000 13:03:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00359311
Message ID:
00359403
Views:
9
I've had the same problem with valid events. As an alternative you can use the lost focus event. This allows the same validation logic without causing the user to be stuck when trying to cancel with invalid values. If an invalid value is entered, I blank out the textbox value and display a pick list of valid values. This allows the user to select a good value and save or cancel.

One way to "attach" a toolbar to a form is to put something like this in the form's init event:

Thisform.oToolBar=Createobject("toolbarclassname")

You'll still be in the same predicament with valid events though...
Previous
Reply
Map
View

Click here to load this message in the networking platform