Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGui 2 - Screen Resolution Issue

Author
Message
Scab
20
Years of Service
User Offline
Joined: 11th Feb 2004
Location:
Posted: 19th May 2007 09:20
For some strange reason, when I change the screen resolution, the BlueGui buttons no longer line up with my images and other screen operations.

Anyone else experience this?
Vidiot
18
Years of Service
User Offline
Joined: 15th May 2006
Location: TN
Posted: 11th Jun 2007 03:55
I ran into a similar issue. I believe the button sizes and positions are relative to the windows screen resolution, not the DBP SET DISPLAY MODE command. With the actual windows desktp and DBPro both set for 1024x768, I spaced out and sized a bunch of stuff perfectly, that ran right off the screen when I later switched the windows desktop into 800x600. In normal use of my app, I don't see this as a problem. But if you need a work around, someone posted two functions for me:




They return the actual windows desktop resolution. With that, you could try setting the DBPro window to match the windows desktop res. Might work!! What I did was divide my intended DBPro res by windows res and get a scaling factor. Then multiply my intended position of each piece by that scaling factor. It worked but could have been a real pain in the backside if it had been a lot of stuff. Luckily, my form was simple.

The answer to Life, the Universe, and Everything? "Tea for Two". Deep Thought was Dyslexic.

Login to post a reply

Server time is: 2024-11-22 21:21:50
Your offset time is: 2024-11-22 21:21:50