>>>Almost the solution. :)
>>>
>>>This is what helped in my case. Any other combination didn't.
>>>
loWindow = newobject( 'viafrm_viajob', 'viajob.vcx' )
>>>loWindow.refresh()
>>>loWindow.show()
>>>loWindow.refresh()
>>
>>I don't think these two refreshes are needed. Definitely not the first one.
>
>As I wrote: In my case no other combination worked. It's a mystery, but vfp is full of mysteries, isn't it? :)
Most likely something is changing the normal sequence of events in your form. You may want to use event tracking to figure this out.
If it's not broken, fix it until it is.
My Blog