>HI all
>
>I am trying to change the following property of a Word object. Top, Height, Width, Left, with the values of my form.
>
>But word did not show a the write place How can i convert the values ?.
>
>oWord = CREATEOBJECT( 'Word.Application' )
>oWord.Visible=.t.
>oWord.Top = FrmDoc.top
>oWord.Left = FrmDoc.Left
>oWord.Heigh = FrmDoc.Height
>oWord.Width = FrmDoc.Width
>
>
>
>TIA
>
>Ben.
It is possible because the measurements in the form (Pixels) are not the same for Word.
If it's not broken, fix it until it is.
My Blog