Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Showing borderless forms indside an MDI Form, without showing the border at all.

43 views
Skip to first unread message

Brian Tkatch

unread,
Jul 28, 2006, 2:47:40 PM7/28/06
to
Been trying to figure out how to show borderless forms indside an MDI
Form, without showing the border at all.

Given that (in our case) only one such form needs to show at a time, we
were able to put a panel in the (entire) MDI client area and anchor it
all around. Then, Show() the panel before opening a form, and after the
Form.Show(), do a Panel.Hide().

Panel.BringToFront() and Panel.SendToBack() work just as well. We chose
Hide() and Show() simply for clarity.

Using SendToBack() and BringToFront() on the child form did not seem to
have any effect though.

As for the BackColor of the panel, it's AppWorkSpace.

B.

0 new messages