Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quitting Aplications from a ToolBar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Quitting Aplications from a ToolBar
Divers
Thread ID:
00506124
Message ID:
00506124
Vues:
56
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform