forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DPI problem

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Sun Feb 15, 2004 7:09 am    Post subject: DPI problem Reply with quote

Problem: When setting OPTION SCALE,96 in your code it obviously now causes the dialog controls to resize/scale to 96 dpi. This works fine.

However change your DPI to 120. Now reboot and load your app, it shows up fine.

But if you use the function @dlgpos(BUTTON1,TLWH) it reports incorrect values. The values returned are close to the hardcoded values within teh script but usually are off by 1-2 digits.

I think the values returned are supposed to be virtual locations in respect to the dialog size, but in reality teh dialog itself has resized to a larger size and controls as well. It would be better off to return the actual top,left,width,height values. In cases wehre you need to check a mouseover it would not report correctly since the tpp, left width, height of the object is not what was hardcoded.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group