>Thank you Craig,
>
>
>However, I seem to be in a catch-22 here:
>
>Since I have to issue myObj.Show() to activate (display) the object,
>and, since my program execution suspends at that point until
>the object is completely destroyed, I can't evaluate a method or
>property until AFTER the object has been destroyed which, of course,
>generates the error "object does not exist".
>
>Am I doing something bass ackwards?
>
David,
This is obviously a modal form scenario with a button (or other control) that releases the form. Instead of releasing the form, call the Hide() method instead. Hiding the form allows program execution to continue but does not release the object. Ex.
local myobj, luretval
myobj = createobject('mycustomform')
myobj.Show(1)
luretval = myobj.SomeProperty
myobj.Release()
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao