Hello
Just enquiring is there anyway to change the size of the form based on the size and resolution of the monior.
eg form fits 17'inch monitor but on 14' not whole form is displayed
thanks
Printable View
Hello
Just enquiring is there anyway to change the size of the form based on the size and resolution of the monior.
eg form fits 17'inch monitor but on 14' not whole form is displayed
thanks
The monitor size is completely irrelevant, what matters is the resolution (see Control Panel - Display - Settings). To find the size available to you (in twips - the same units as form size) use screen.width and screen.height, how you re-position the controls on the form is entirely up to you.
or you can use EnumDisplayDevices and EnumDisplaySettings
API calls