MDI Parent and Child (OpenInsight 16-Bit Specific)
At 11 MAR 2002 03:09:17PM a becker wrote:
We have created an MDI form and attached a child to it.
When we run the MDI everything is fine. The child form is fine.
However, the problem starts when we max the MDI form (which takes it to full screen), but when we max the child, the edit boxes get very large and overlap each other, the text on the form stay the same size, any buttons are also very large.
We have set all controls etc on the child to Autosize width and height.
Any suggestions as to how to correct this problem?
Thanks in advance for all your help/suggestions.
Andy Becker
IL State Lottery
At 11 MAR 2002 03:15PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Remove the autosize width and height.
These are designed to be used under very specific circumstances, such as ensuring a status line is bottom anchored and will stretch horizontally when the screen in maximised, or ensuring the Exit button stays at the top right by top/right anchoring.
The behaviour you are seeing is behaviour one would expect given what you say you have done.
World Leaders in all things RevSoft
At 11 MAR 2002 06:00PM a becker wrote:
Did that but now when the parent is maxed to full screen, the child remains at its original size - it does not expand to fit the maxed parent.
We had a routine in the activate of the child script to put the upper left corner in a given position, but I remarked that out and the result was the same.
Any other ideas?
Thanks
Andy Becker
IL State Lottery
At 11 MAR 2002 06:07PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Again what you are describing is default Windows behaviour and is as it should be. If I open Excel then open a worksheet and resize it to fill half of the screen, maximising Excel does not do anything to the child.
It sounds as though you have very definite expectations of the way you would like the system to behave, but as these expectations differ from the Windows standard it's hard to explain how to achieve the results you are looking for. We spend ages trying to ensure that OI looks and feels like a true Windows app!
Perhaps you could outline your desired behaviours and we can address them one by one.
World Leaders in all things RevSoft
At 11 MAR 2002 06:54PM a becker wrote:
I'll try my best to explain it. I don't think we are trying to do anything out of the ordinary, but maybe we are.
The parent when activated fills only a portion of the screen and the child which is loaded when the parent is activated fills only a portion of the parent.
We maximize the parent - the child stays the same size.
Maximize the child - the child's form expands to fit the parent, however, the child's wording, edit boxes, etc., remain the same size as before the maximize. We would like the wording, edit boxes, etc., to expand porportionately to fill the parent.
Hope this clears up your confusion.
BTW - I noticed in the Developement Guide in Chapter 7, page 296, a "Fit to Size" option. I have not been able to locate this option anywhere on either the parent or child forms. Where is this actually located.
THANKS
Andy Becker
IL State Lottery
At 11 MAR 2002 07:16PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
We maximize the parent - the child stays the same size.
Default Windows behaviour.
Maximize the child - the child's form expands to fit the parent, however, the child's wording, edit boxes, etc., remain the same size as before the maximize.
Default Windows behaviour.
We would like the wording, edit boxes, etc., to expand proportionately to fill the parent.
Are you sure[/i] that this is what you want to do? The point of maximising normally is make more screen real estate available to the user so they can see more things, not so they can see the same thing bigger. This CAN be done programmatically and you could even write it in such a way that you only have to write it once then all children will behave this way but it is a programming task - you won't find a switch to make it happen automatically. BTW - I noticed in the Developement Guide in Chapter 7, page 296, a "Fit to Size" option. I have not been able to locate this option anywhere on either the parent or child forms. Where is this actually located. It's on the tools menu and is not what you are looking for. The Sprezzatura Group World Leaders in all things RevSoft
</QUOTE> —- === At 11 MAR 2002 07:35PM a becker wrote: === <QUOTE>Thanks Sprezzatura Looks like it programming time. We have one user who has poor vision and his supervisor wants the form expanded so he can see it better. The poor vision guy reads a lot and sometimes I have seen him holding the book about two inches from his eyes. Hopefully, we will be able to come up with something that will satisfy the user. Maybe it may be so simple as to use a larger font, etc., on the form itself and that will resolve. Hard to say. Again, thanks for your help. Andy Becker IL State Lottery </QUOTE> —- === At 11 MAR 2002 07:42PM Don Miller - C3 Inc. wrote: === <QUOTE>What about the Accessability Options on his desktop?? Don </QUOTE> —- === At 11 MAR 2002 07:57PM The Sprezzatura Group wrote: === <QUOTE>and apart from Don's suggestion that actually seems like the best way forward why not run the screen in 640x480? This'll maximise size. The Sprezzatura Group World Leaders in all things RevSoft
</QUOTE> —- === At 13 MAR 2002 03:41PM Don Miller - C3 Inc. wrote: === <QUOTE>FYI .. we do most of our development in 640 x 480 mode for that reason. Then we test in 800 x 600, etc. to make sure things don't get lost. In this way we are at the lower threshold of resolution. It's always problematical when things are developed at 800 x 600 (or higher) and then are run at lower resolutions. Some really strange things can happen, including the vanishing control symptom. Toodles .. Don </QUOTE> View this thread on the forum...