
form doesn't auto size to fit different pc's
i have installed this app on about 5 pc's, most require i set the screen
area to the highest pixel setting for the adapter to get the form to
properly size, i.e. display the entire form without truncating the right
side and without having to manually enlarge the vertical size so that a
scroll bar on the bottom is available on the screen. there is one pc with a
diamond adapter that i can't get the entire form to display no matter what
settings i use.
i use this code to set the form size, thought it would universally set the
form size to fit whatever video adapter/monitor was being used but evidently
not, is there some other way to set the form size so that it will
universally fit all (most) screens?
Wid = Screen.Width
Hgt = Screen.Height
invForm.Move (Wid - Wid * 0.95) / 2, (Hgt - Hgt * 0.8) / 2, Wid * 0.95, Hgt
* 0.8