Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close Class Designer programmatically?
Message
 
 
À
08/07/2003 14:21:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00807810
Message ID:
00808161
Vues:
19
Peter,

This does:
for x = 1 to 5
   keyboard '{ctrl+W}'
   lcclass = 'test' + alltrim(str(x, 3))
   create class (lcclass) of test1 as label nowait
   activate window "Class Designer"
endfor
The problem is the Ctrl-W is closing one of the other windows, not the designer itself. The above code makes sure the class designer is active at the time the ctrl-w is consumed.

>If I use the following coding, it will not close the class designer "immediately".
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform