Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suspending execution of program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Suspending execution of program
Divers
Thread ID:
00467430
Message ID:
00467430
Vues:
42
I have created a class based on a couple of 3rd Party ActiveX controls purchased from www.mabry.com for selecting folders/files for import into my app. The class is instantiated at startup and I call the hide and show methods to hide and show the form class as necessary.

In the code used for importing the files, I change some of the properties of oPickFile - then I show the oFilePick form class. What I'd like to do is pause execution of the rest of the import routine until the user actually selects a file for import - or cancels the import.

***************************


oFilePick.Caption = "Please select the Switch Report to import"
oFilePick.cmdSelect.Caption = "\oFilePick.Show()

** I'd like to pause things at this point.

DO CASE . . . .

**************************

Any ideas as to how I could go about suspending execution of the program until the user selects a file or cancels the import from the oFilePick form class? I had a look at SUSPEND and RESUME and I'm not sure if it would be appropriate to use these commands - or even how I would use them in this cicrumstance.
Al Williams

Anola MB, CANADA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform