I am developing a form in the .NET Compact Framework, which hosts a variable number of controls. Each control should have the same width. When there are only some controls, no vertical scrollbar appears. When there are more than one control, a vertical scrollbar is displayed. The width of the control should be modified so that no horizontal scrollbar appears.
What is the best way to get it? I am interested in a solution that will work in all platforms / screen sizes and which can support screen orientation changes. If I get this right, at one point, both a vertical and horizontal scrollbar are visible, and you want only vertical scrollbars;
Comments
Post a Comment