Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems to close top level from from toolbar
Message
 
 
To
28/07/2000 10:57:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00398164
Message ID:
00398193
Views:
17
>>Isn't it that This.Parent.oParentForm.RELEASE() is referring to the toolbar itself?
>>
>>Try:
>>This.Parent.Parent.RELEASE() in the click event of the button.
>
>The problem is that the toolbar is not contained in the form. I have to instantiate the toolbar in the activate event of the form and use a property reference to it.
>This.Parent.Parent is not an object.

You can directly call the name of the top level form: YourFormName.Release().
Just a thought. If your intention is to quit the system, clearing the event coupled with clear all will do the work.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform