When one opens a form in design mode and it is not maximized, one sees a window and inside sees the form of a certain size. When one checks the properties, the Width property applies to the inside property, not to the size of the window.
I am adding controls to a form at runtime and the inside width will expand to allow all the controls to appear where I have placed them (left, top, width properties). However, the windo does not expand and when it opens, the right hand column of controls is cut off.
I have tried setting the Sizable proprty to YES and I have tried setting the BoarderType property to SIZABLE. But it still doesn't work.
Is there any way in VBA to control the size of the window. (I need to be able to have the size change because I won't know how many controls I'll have until runtime.)
I am adding controls to a form at runtime and the inside width will expand to allow all the controls to appear where I have placed them (left, top, width properties). However, the windo does not expand and when it opens, the right hand column of controls is cut off.
I have tried setting the Sizable proprty to YES and I have tried setting the BoarderType property to SIZABLE. But it still doesn't work.
Is there any way in VBA to control the size of the window. (I need to be able to have the size change because I won't know how many controls I'll have until runtime.)