Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close Class Designer programmatically?
Message
 
 
To
08/07/2003 14:21:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00807810
Message ID:
00808161
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform