| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Sat Feb 14, 2004 7:33 pm Post subject: Object Alignment |
|
|
I have placed a maskedit (part of vdsobj.dll) box on a tab element, and it is ok on my machine, but when on other machines it is now aligned correctly, any ideas?
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Feb 14, 2004 7:57 pm Post subject: |
|
|
Try using OPTION SCALE,96...
I'm not sure if it applies to objects placed by DLLs though... _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Sat Feb 14, 2004 8:35 pm Post subject: |
|
|
I'll add a command to the vdsobj shortly to fix this issue Check back in a few hours (if not minutes) for an update. |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Sun Feb 15, 2004 7:04 am Post subject: |
|
|
Hello Nathan,
The task of getting dpi wasn't as easy as I thought. I've gotten about 80% done and need to finish up the rest in the morning. I also need to update the documentation.
On a side note I found a bug in vds 5. If you try to use the function @dlgpos when using a DPI other then 96 you get incorrect values for the top, left, width and height. The control obviosly is resizes and moved because of the DPI change but vds doesn't update such when returning values. In fact it doesnt even return teh values hardcoded in the script but they usually are off by 1-2 digits. I think they were attempting to give a virtual representation of the location no matter the dpi but this doesnt' work so well when you need ot mouseover an object and test its location (since the width, height and top, left values are different). |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
|
| Back to top |
|
 |
|