Hello,
we're migrating forms 6i to forms 12c (using forms 12.2.1.3.0 and forms stand alone launcher - FSAL - to deploy) and found a lot of problems... many of them were resolved by reading a lot of topics on differents forums, as well the documentation of the tool itself. But, for one of these problems we haven't found a solution: we notice that in version 12c, the values of width and height, relative to the window FORMS_MDI_WINDOW aren't the same as before: in the height is even more apparent.
In the 6i version is possible to get the real height available for the form windows through the GET_WINDOW_PROPERTY command. We call "real height" because it already subtracts the dimensions of windows MDI title bar and status bar, as well of the forms menu. In fact, it's really relative to the available space to maximize a form window, for example.
We need these dimensions to make possible for us to centralize the windows on our forms. We already try some functions of WEBUTIL library, like WEBUTIL_SEPARATEFRAME.GETSEPARATEFRAMESIZE, but again without success, because the returned dimensions aren't what we're expecting.
Another solution could be this: maximize the window; get the newer dimensions (which will be reffered to the available space for the window); return the window to the "normal" state; and make some calcs to centralize the window, based on these values. There's a problem: after maximize the window, it appears that the screen needs to be updated in order to get the new values, and we believe that this makes necessary the use of procedures like REDISPLAY and SYNCHRONIZE together (in little and fast unit tests, not all of ours tests worked). This solution seems to be quite strange, and possibly there would be many blinks on the screen because of the maximized/normal state of the windows.
Anyway, we've step backward and think to ask this to other people that possibly already live similar problems.
Someone sees any solution?
Thank you in advance.