Keep Dialog window in bounds of an app

J

Jeff

I have a MDI application.
I open a Form (Data Window) which has the apps window as the MDIParent.
From this Data Window I open a Dialog Window.

This Dialog window can float outside of the bounds of the App window.
How can I keep the dialog window within the bounds of my app.
 
L

Lilith

I have a MDI application.
I open a Form (Data Window) which has the apps window as the MDIParent.
From this Data Window I open a Dialog Window.
This Dialog window can float outside of the bounds of the App window.
How can I keep the dialog window within the bounds of my app.

I'm not an expert on this but in the layout properties of the form you
should have an option for Start Position to center on the parent.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top