Re: MDI problem



On Sat, 23 Sep 2006 07:10:17 +0200, "RobK"
<robert.kryska@xxxxxxxxxxxxxx> wrote:

Hello

I've got an MDI Application. MDI Form is empty, form with menu and toolbar
only.
But I would like to place on that empty space something: for example
MonthCalendar, Clock, or just Panel.
When I do that, during execution, when I open a MDI Child Form, this Child
Form lays UNDER that Calendar, Panel!!!

What can I do to have that Calendar and Panel staying under ChildForm, like
a wallpaper of MDIForm?

I've not done much with MDI Forms, so I had a look into this.

It looks as if the MDI Parent's controls have total precedence over
MDI Child Forms - it sort of makes sense as those controls should not
be in the 'MDI Client area'

I've tried forcing a first MDI Child to take up the area, and sticking
the controls on there, but that opens up a whole new can of worms, it
hides other minimized MDI Children and attempts to keep it wsMaximized
give peculiar results.

Actually the results are a nightmare, I can't quite figure out what it
does - sometimes Form2 disappears - sometimes it attempts to minimize.

I'm not convinced that it is a good idea to wrestle with Delphi over
this.
.



Relevant Pages

  • Re: My.Application.OpenForms
    ... If you start manipulating the position of MDI Child forms after they have ... Dim lngLeft As Long ... It doesn't work if the StartPosition property of Form2 is set to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: My.Application.OpenForms
    ... If you start manipulating the position of MDI Child forms after they have ... furthur displacement. ... Dim lngLeft As Long ...
    (microsoft.public.dotnet.languages.vb)
  • Re: My.Application.OpenForms
    ... It was much simpler in VB6 ... If you start manipulating the position of MDI Child forms after they have ... Dim lngLeft As Long ...
    (microsoft.public.dotnet.languages.vb)
  • Re: My.Application.OpenForms
    ... Shared Sub A_ResizeToFit(ByVal frmMain As Form, ... ' make the form fill the client area of the MDI Container ... small displacement and each subsequent MDI child generated at a furthur ... Shared Sub FitChildToMDI(ByVal frmMDI As Form, ByRef frmChild As Form, ByVal ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Multiple MDI Child Icons and Control Boxes Why??
    ... If your start form is not maximized, but you bring up another MDI child that ... MDI children are either all ... > and put the Start form back to how it was (with control box and max button ... >> icon is usually the icon from the last form opened not the start form's ...
    (microsoft.public.dotnet.languages.vb)