default location for a modeless dialog

Started by hanslammerts · 2017-01-11 12:31 UTC · 4 replies · SMF topic #2470

Hi

I'm wondering if there is a possibility to control the (startup) location of a modeless dialog.p
prefferable on the bottom of the active window.

I switch a lot between working places, working eiher with single a or and dual monitor desk
Want to avoid dragging the controlbar if possible. It's for this one.

http://www.opendcl.com/forum/index.php?topic=2446.msg12212#msg12212

Kind regards
Hans
You can specify the position when calling {2}.
Thanks mr. Wengerd
Made it..
(dcl-Form-Show Osnaps/Main 750 0)
to have it somewhere in the top middle.
That seems like a nice place to have it!
Thanks a lot

Hans is touching on an interesting idea for a new ODCL feature:
Store information about ODCL dialogs not just per profile but also per workspace.

I have meanwhile implemented this for {2} using reactors.
Will use and test this code for a while Roy.