I need to run this in an error handler:
LIST OBJECTS LIKE ObjName TO FILE (lcTempFile) NOCONSOLE
So I need to know what is a name of a form object.
>>In my main program I am opening my main form:
>>goSupervisor = NEWOBJECT('frmSupervisor', 'supervisor.vcx')
>>
>>Is it possible to get a name of an object ("goSupervisor") inside of the form?
>>
>>Thanks
>
>Mark,
>What do you mean? goSupervisor is a reference. Like thisform inside the form instance you can use it to refer to a control int it. ie:
>
>for ix=1 to goSupervisor.ControlCount
>? goSupervisor.controls(m.ix).Name
>endfor
>
Cetin