Resizing problem in MDI app...

B

Benz.

Hello all, I'm having a very strange problem. I've an MDI
application with many child forms. In 1 of my Child forms
(Say frmA), I've a few design time controls. The forms
Autoscroll property is TRUE. At runtime I dynamically
generate a few other controls and place them at proper
position according to my forms size.
If I try to resize my MDI parent form OR move around to
any different child form and return to this form after
resizing i.e. frmA, I see that some or all of the design
time controls have disappeared(They are no more visible
on the form), OR sometimes the Scroll bar doesnt show up
even though I have more controls in the bottom of the
form and the runtime controls are not placed at the
proper location. I'm fed up with this problem.
In the resize event of my Parent form, I call the
PerformLayout method of the ActiveMdiChild and this works
on all the child forms EXCEPT this form, frmA.
Pls, do let me know what should I do to rectify this..
Any help to solve this strange behaviour will be
welcome...

Benz.
 
B

Benz

Hi Fergus, as I got no reply for a very long time, I
reposted my problem with the following subject,
Sub: MDI parent Form resizing

And I've posted my code snippet too, the Parent resize
event and also the method which creates dynamic controls
in the child form. Pls have a look at this new post for
the code. Sorry for the inconvienence.

Regards...
Benz.
 

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