>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