Disabling a form

I have form which opens another smaller form in the centre of the screen. Is there a simple way of disabling the form behind the smaller form? Making the smaller form Modal seems to throw the objects out of whack.

If you do the modal form properly, it should stop clicks outside the modal form from doing anything.

Does the Modal sample work properly for you?

Appears on the screen ok. The remaining form darkens but clicking on the darkened area hides the model form.

My issue is in the design screen when I switch the form to modal is it shrinks width up by 50%, moving and squashing all the controls set as a percentage.

What is the form’s screenMode set to?

With the modal sample….

Actual size for Modal1.

Full size for Form1.

How can I reproduce what you are seeing?