Center Child Dialogs

Started by chrislegarth, November 10, 2023, 11:34:38 AM

Previous topic - Next topic

chrislegarth

Attached is some code I use to center child dialogs above parent dialogs.  It also check to see if the child dialog would open off screen and open it on screen but close to the parent dialog as opposed to centering to the screen.

Feel free to use it if you have a use.  I'm also open to improvements to the code if something is wrong or could be done better.

Trying to give back for all the help I have received.

Thanks,
Chris

kdmoyers

The mind is everything; What you think, you become.