Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window and screen coordinates

Status
Not open for further replies.

flea333

Technical User
Sep 4, 2003
47
US
Why is the dialog box width and height not the same when I use winsize to set the size. My dialog box is set with a height of 85. If I use winsize x 85, the height it much smaller.
 
That is because the winsize uses screen pixels to set the size, while the various dialog commands in ASPECT use dialogbox units (DBUs). Think of it as using inches and feet, although I'm not aware of a conversion factor from pixels to DBUs or vice versa.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top