Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quitting Aplications from a ToolBar
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Quitting Aplications from a ToolBar
Miscellaneous
Thread ID:
00506124
Message ID:
00506124
Views:
55
Hi all,

I've a slight problem, I want to put an Exit button on the toolbar that will take a use out of the app, in the click event of the button I've place 'Quit'.

Everything start to close down and exit unit it reaches one of the last command in the shutdown method which is 'close all', this gives the message 'Cannot clear the object in use' and the toolbar is still active.

The only thing left on the screen is the toolbar.

I feel I'm trying to go about this the wrong way, how do you get an app to close from within a toolbar?

Thanks for any assistance,
Yours, hoping to exit!

John
John T Barton
A single picture (or bit of code) is worth a thousand words
Next
Reply
Map
View

Click here to load this message in the networking platform