Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close Class Designer programmatically?
Message
From
07/07/2003 22:37:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to close Class Designer programmatically?
Miscellaneous
Thread ID:
00807810
Message ID:
00807810
Views:
73
I'm using the subclass_it.prg but it is having problem to close the Class Designer after each Create Class command. I have tried to modify the subclass_it.prg but it still won't work. The coding looks like this:

scan

IF WEXIST("PROPERTIES")
RELEASE WINDOW "Properties"
ENDIF

IF WEXIST("FORM CONTROLS")
RELEASE WINDOW "FORM CONTROLS"
ENDIF

KEYBOARD "{Ctrl+W}"

create class....

endscan

I have also tried to make sure that the activate window is the class designer by adding the following codings before the KEYBOARD statement:

x=wontop()
if !empty(x)
activate window (x)
endif


Thank you for any help,

Peter
Next
Reply
Map
View

Click here to load this message in the networking platform