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.
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.