Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How convert oWod.top to be equal to Form.top
Message
 
 
To
09/02/2010 14:38:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01448425
Message ID:
01448428
Views:
66
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform