Screen resolution (desktop)

diego

Member
Licensed User
Longtime User
I'm missing old forum's search utility, I'm sure this question is done... but here it is:

how can I know the screen resolution for a desktop compilation? I want to resize the objects according to different resolutions.
 

mjcoon

Well-Known Member
Licensed User
I thought that the screen/window size was fixed for any one compilation?...

If it can be altered dynamically then you will still know what you have set it to!

Mike.
 

diego

Member
Licensed User
Longtime User
you're rigth, it's fixed. but with Form library you can create a new form with different size.

anyway, it should be a big change in my code, so I'll create different compilations for each resolution.

thanks.
 

timsteeman

Member
Licensed User
Longtime User
Hi Diego,
Look in formexdesktop.dll
Add the Displayobject;
Display.New1
Msgbox(Display.Height)
Msgbox(Display.Width)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…