Sizing of forms in an MDI application (VB6)
Posted on 2002-07-04
I have an MDI application with a number of different forms so it isn't an MDI application in the true sense of the word.
When I load forms which I have set to sizable, they don't appear as they same size that I have designed them which means the controls appear in the wrong place.
I have a control repositioning routine but it requires that the controls are in the right place when the form is first loaded to calculate their positions on subsequent resizes.
Currently I'm hard coding the width and height from the design time properties and then setting these when the form loads but there must be a better way...
Does anyone know of one?