Hi All,
Maybe a strange problem :) I have a window to which I programatically add controls, one underneath the other vertically. There is an unknown number of such controls which I need to add, can be 100+ for example. When I do this the window vertical scroll bar does not size sufficiently to allow me to scroll to the bottom of the controls that I have added. The scrollbar only appears if I size the window to less than the design height.
How do I force the scroll bar to appear so that it reflects the total true height of all the controls I have added to the form?
Thanks
Maybe a strange problem :) I have a window to which I programatically add controls, one underneath the other vertically. There is an unknown number of such controls which I need to add, can be 100+ for example. When I do this the window vertical scroll bar does not size sufficiently to allow me to scroll to the bottom of the controls that I have added. The scrollbar only appears if I size the window to less than the design height.
How do I force the scroll bar to appear so that it reflects the total true height of all the controls I have added to the form?
Thanks