Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an Edit Window Programmatically
Message
From
28/10/2003 16:42:56
 
 
To
28/10/2003 15:44:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00843762
Message ID:
00843809
Views:
22
>Does anyone know how/if I can close edit windows (i.e. a window opened with Modi Comm) or classes being edited programmatically? I have a class open, and I've written a utility to help me test it, but I'd like the ability to close the window (and save if necessary) through the test program.
>
>Thanks,
>
>David

If you know the window name and set your libary foxtools.fll you can do
MODI COMM test NOWAIT

ln_whndl = _WFindTitl('test.prg')
=_EdCloseFi(ln_whndl,0)
I don't know about classes.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform