window resizing (OpenInsight 32-bit Specific)
At 26 JUL 2003 12:48:15AM jay o rappaport wrote:
After reviewing prior posts and SIZE property - i am able to resize forms based on the actual size of the screen in use.
the problem i am seeing is that parts of the form are distorted when the form is initially created. if I shrink and the restore using the "system buttons" it then repaints the form correctly.
if there a trick in getting this to work the first time??
running on an XP home, with a screen size of 1280 xx 854 - yes that's it size. my goal was to be able to scale the form to appear full screen based on the actual size of the screen in use.
tia
At 26 JUL 2003 06:40AM Bob Silverstein wrote:
I am not sure what you mean by "distorted" or "first time". How are you setting SIZE? I set the it in the form's CREATE event and maximize and resize with everything appearing normal. Unfortunately, all my monitors are the same size and set to the same resolution. Hope this helps.
At 26 JUL 2003 09:40AM Donald Bakke wrote:
Jay,
my goal was to be able to scale the form to appear full screen based on the actual size of the screen in use.
Like Bob I don't quite understand the nature of your problem. However, if you want "full screen" then why not use the VISIBLE property with the value of 3 to automatically maximize the form?
At 26 JUL 2003 10:20AM Richard Hunt wrote:
Jay,
One more thing that might interest you about size…
Using the function GETSYSTEMMETRICS you can get information about "the system metrics".
WIDTH_OF_SCREEN=GETSYSTEMMETRICS(16)
HEIGHT_OF_SCREEN=GETSYSTEMMETRICS(17)
These two sentences can allow you to get the actual "usable" screen size. Check out this URL…
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q77061
At 26 JUL 2003 01:57PM Don Miller - C3 Inc. wrote:
As an aside, at that resolution, you may run across the resource allocation bug in PopUp. If you search this forum you will find that it's been around for a good long time. I've also seen it with Edit Tables when they stretch. They come up BLANK with no lines at all showing.
Just food for thought …
Don M.
At 27 JUL 2003 12:43AM jay o rappaport wrote:
maybe i should have been clearer in the question.
I have a function tied into the create event. It looks at the actual screen size and then adjusts the "SIZE" properties to scale the form based on the window size. On my old laptop - 800x600 things looked just fine, but on the new one 1280x854, the forms seemed mighty small.
the routine gets the size property for all elements in the form and rescales, including the font size.
what is happening, on the initial resizing of the form, some of the text areas appear to have pieces missing - they look like a blank line has been drawn thru them. if you minimize the window, and the restore it everything looks fine.
does it make any difference what sequence you resize the elements on the form?
hope this clearifies.
At 27 JUL 2003 05:44AM Oystein Reigem wrote:
Jay,
Perhaps you could do a screen dump of the form and mail it to somebody to have a look at it. (Alt+PrintScreen, then paste into a suitable document (word processor document, image program document, mail body).)
(Don't know if I can be of any help, but my current address is .)
- Oystein -