>hello,
>
>I have a problem finding out (programmatically) the name of the library (VCX file) of a class that I have open in the class designer.
>
>_VFP.Objects[1].Objects[1].CLASSLIBRARY returns the name of the library from which the edited class is subclassed from.
>I tried to use the _WTitle() method, because the class library name is displayed in the title of the class designer window, but _WTitle() returns always an error.
>
>Any suggestions?
I'm not sure what the problem in the ClassLibrary property above shows the file location, the Class shows its name.
_Wtitle(_Wontop()) from Foxtools will return the title of the window currently on top. As will WTITLE().
George
Ubi caritas et amor, deus ibi est