Author Topic: Center Child Dialogs  (Read 318 times)


  • Jr. Member
  • **
  • Posts: 76
Center Child Dialogs
« on: November 10, 2023, 11:34:38 am »
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.



  • Pundit
  • *****
  • Posts: 513
Re: Center Child Dialogs
« Reply #1 on: November 10, 2023, 12:46:50 pm »
This is quite nice! thanks!
The mind is everything; What you think, you become.