|
| [WD21/WD22] Zooming with maximized MDI windows |
| Iniciado por guest, 17,jul. 2017 09:40 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 17,julio 2017 - 09:40 |
Our customer wants the option to zoom into our windows. As we have a lot of windows, I was very happy discovering the "..Zoom" property of the window. It works wonderful, as long as the windows are not maximized.
I've got two buttons (Zoom100 and Zoom140) and a global variable with the actual zoom. in the Init of the window I'm setting MyWindow..Zoom = gnCurZoom. In the button itself I'm setting the global variable and the zoom value of all open windows. If the form on the window is too high for the main window, I'm getting a scrollbar on the right, so I can look at the whole form.
BUT: If this window is maximized (which is possible in our application) and I'm zooming in to 140 %, I am NOT getting a scrollbar and the form values (Edit fields and static fields) continue below the visible part of the window.
My question now: Is this behaviour fixed in WD 22? Is there some way to get this missing scrollbar?
Thank you for your input.
Kind regards, Christine |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,julio 2017 - 14:07 |
Hi Christine,
I would say that one way would be to prevent the windows from being maximized. And to do that and still KEEP the maximized behavior, you would have to FAKE the maximize state.
I would think about trying to INTERCEPT the maximizing action (replace the standard maximize button by yours in the window model, by example) and in the code, instead of maximizing the window, just give it the size and position it would have had when maximized, while still keeping its internal status the same.
Now, I have just seen that you are talking about MDI windows, so that may not be possible, considering that MDI is an old an abandoned technology.
Best regards |
| |
| |
| | | |
|
| | | | |
| | |
|