Centered modal window
Posted: Sun Apr 19, 2015 6:41 am
Hi,
in my programs, I use MODAL clause for all windows. While I do't use CASCADE option in DCGETOPTIONS, the windows
are created in a centre of a screen. But if I want to run more than one program, and move the program window for
example to a corner of the screen, the next modal window is displayed in a centre of the screen and not in a centre
of window, from which was invoked. How can I simply make for all modal window, that will be centered inside
(main) window, from which was invoked?
Piotr
in my programs, I use MODAL clause for all windows. While I do't use CASCADE option in DCGETOPTIONS, the windows
are created in a centre of a screen. But if I want to run more than one program, and move the program window for
example to a corner of the screen, the next modal window is displayed in a centre of the screen and not in a centre
of window, from which was invoked. How can I simply make for all modal window, that will be centered inside
(main) window, from which was invoked?
Piotr