>>Hi everybody,
>>
>>In my form a create an instance of a session class and run some of its methods. I noticed, that sometimes my form sort of becomes blank (e.g. all controls disappear). Aside from Locking Windows is there a way to prevent such effect?
>>
>>Thanks in advance.
>
>Is the sessionn a form's member ?
No, I just use a private variable
poProcess = newobject()
lcReturn = poProcess.MyMethod()
I also use ON ESCAPE poProcess.Something..., e.g.
on escape m.poProcess.cError = iif(YesNo("Are you sure you want to stop?"), ;
"User Interrupted the assigning queue process.","")
poProcess.lTransferAccounts = not empty(.cboInvestigator.displayvalue)
If it's not broken, fix it until it is.
My Blog