Hi Larry,
Yes, if the custom method is called from the init.
Glad you found a workaround
>Not in INIT, but in another custom method. Would that produce the same effect?
>
>Actually, I found a work-around... I had code in INIT to set some properties, etc and it called a couple of custom methods. I moved that code into the SHOW method and left INIT empty. This fixed the problem.
>
>Thanks
>
>>Are you calling SetFocus() anywhere in the init of the form or the init of objects? I find that this makes forms appear before Show() is called. It is as if items need the form to be visible before they can really receive focus.
>>
>>>Why is it that, in the following code, the form is displayed prior to the line with SHOW?
>>>
>>>oOptionClass = CREATEOBJECT("OptionBaseClass")
>>>oOptionClass.SHOW
>>>
>>>I add a WAIT WINDOW 'stop here' between the two lines and the form displays before the wait window...
>>>
>>>There's nothing in the class definition that displays the form, what else could cause this?
>>>
>>>TIA