Hi!
You can get a reference using _Screen.forms collection.
You can save using KEYBOARD "{CTRL+S}" command, however, you require to activate that window first. You can close it (with prompt for saves if changes are made) just as suggested by Tamar Granor (CTRL+F4).
>If I create a subclass of an existing class in code, can I then save that class without requiring the user ( i.e. me ) to do anything?
>
>example: existing class cExample in Examples.vcx.
> CREATE CLASS cSubClass OF Examples.vcx AS cExample FROM Examples.vcx
>
>This brings the correct class up on screen, but I cannot seem to easily get a reference to it, ot see how to save it ( without macros :) ).
>
>TIA
>
>Craig
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.