Hi Gunnar,
Does this work for you?
my _ParentClassBrowser doesn't show up in _Screen.Forms. It's a separate object in _Screen.
the Class Designer doesn't show up in _Screen anywhere that I can find.
>i know this is not the solution to your problem, but it might help:
>CLEAR
>
>FOR i=1 TO _SCREEN.FORMCOUNT
> ?_SCREEN.FORMS[i].NAME + " - " + _SCREEN.FORMS[i].CAPTION
> * *** _PARENTCLASSBROWSER
> * *** FORM1
> * *** CLASSBROWSER1
> IF UPPER(_SCREEN.FORMS[i].NAME) = "_PARENTCLASSBROWSER"
> *_SCREEN.FORMS[i].RELEASE()
> ENDIF
>ENDFOR
>
>
>
>>I'm using VFP 7.0
>>
>>I'd like to programically close the class designer, but I can't find any way to do it.
>>
>>I have the name of the window and the lnwhandle (using foxtools), but I can't find a command that will close the window.
>>
>>TIA
Bill Morris