Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning .F. from a form load
Message
From
17/02/2003 06:54:10
 
 
To
16/02/2003 22:18:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00753941
Message ID:
00754045
Views:
37
Hello David.

I think it is a bug with VFP 7.

I think that you are mistaken and that it is a bug in your code instead < s >. I just created a formset and put this in its Load():
MESSAGEBOX( 'In Formset Load...' )
RETURN .F.
The messagebox displays and then the formset fails to instantiate (which is exactly what I would expect to happen if the Load method returns .F).

FormSet.UnLoad()
WAIT WINDOW 'FormSet.Unload'


You will never see this wait window because returning .F. from the form Load means that the form never loads. Since the form never loads, it can never unload.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform