P
Pedro
Hi all;
I have one MDI form, with it's IsMDIForm property set to true, which
has lot's of components (panels, toolbars, menus, explorer bars,
etc.). I also have one SDI form, and somewhere in my code i do this;
'MDI FORM - toMainForm
'SDI FORM - loPreview
....
Dim loPreview as new Form
loPreview.MdiParent = toMainForm
loPreview.Show()
....
This aparently works fine, but my SDI form shows behind of my Mdi form
components. I checked my SDI form and it's visible property is set to
true and the object is acessible when created and invoked. I've tryed
with a simple app.
and sdi form is loaded and activated correctly, but remains on the
back of my Mdi objects!... Tryed also bringing Sdi form to the front
of z-order, selecting it, giving it the focus, refreshing it, but
nothing works!...
Why? Is it a .NET bug? No other solution is available form me, 'cause
i need my loPreview to interact with toMainForm objects and if i add
loPreview to toMainForm a strange behavior occurs when interacting
with each other.
I think MDI's logic is to ensure this kind of needs (mdichild forms
can interact with mdiparent form). How can i workaround this issue?
I'm strugling with this for quite some time, and any help would be
greatly appreciated!
Please, help is urgent!
Thanks in advance!
I have one MDI form, with it's IsMDIForm property set to true, which
has lot's of components (panels, toolbars, menus, explorer bars,
etc.). I also have one SDI form, and somewhere in my code i do this;
'MDI FORM - toMainForm
'SDI FORM - loPreview
....
Dim loPreview as new Form
loPreview.MdiParent = toMainForm
loPreview.Show()
....
This aparently works fine, but my SDI form shows behind of my Mdi form
components. I checked my SDI form and it's visible property is set to
true and the object is acessible when created and invoked. I've tryed
with a simple app.
and sdi form is loaded and activated correctly, but remains on the
back of my Mdi objects!... Tryed also bringing Sdi form to the front
of z-order, selecting it, giving it the focus, refreshing it, but
nothing works!...
Why? Is it a .NET bug? No other solution is available form me, 'cause
i need my loPreview to interact with toMainForm objects and if i add
loPreview to toMainForm a strange behavior occurs when interacting
with each other.
I think MDI's logic is to ensure this kind of needs (mdichild forms
can interact with mdiparent form). How can i workaround this issue?
I'm strugling with this for quite some time, and any help would be
greatly appreciated!
Please, help is urgent!
Thanks in advance!