>>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."