Hi Tore,
>Add VISIBLE=OFF to Config.fpw, and don't make the form visible until everything is set up correctly.
It doesn't happen when my app is starting... It is happing when I call a form.
The form is invisible, and VFP uses the main window to writes those results. Notice that my app is already running and I can't mak the main window invisible again.
Ths problem is that GRID is created before the FORM. I noticed that it just happens because I'm setting a user property with a new value, and the assign events do something like that:
LPARAMETERS m.vNewVal
If VarType(m.vNewVal)="C"
This.Ordem = m.vNewVal
m.vNewVal = 0
EndIf
In VFP main window, two lines appear:
My new order
0
"my new order" is the value of Ordem property (line 3) and 0 is m.vNewVal value (line 4).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte