default location for a modeless dialog

Started by hanslammerts, January 11, 2017, 04:31:57 AM

Previous topic - Next topic

hanslammerts

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

owenwengerd

Owen Wengerd (Outside The Box) / ManuSoft

hanslammerts

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


roy_043

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 the project linked to in the OP using reactors.

hanslammerts

Will use and test this code for a while Roy.