>VFP : 6,7,8,9b
>
>Observed:
>the OBJTOCLIENT(oPage,1|2|3|4) return the values relative to the default Pageframe size (375,250);
>only after that the PageFrame is painted, the OBJTOCLIENT values are correct.
>
>Expected: OBJTOCLIENT(oPage,1|2|3|4) have to return correct values before the first paint event.
No, Fabio, I don't believe this is a bug. Objects instaniate (initialize) from inner most object to the outter most, in this case the form. Calling OBJTOCLIENT() before the form has been initialized and shown is bound to produce inaccurate results.
George
Ubi caritas et amor, deus ibi est