Hi All,
As I recall from Java Swing, I could assign the widths of columns to
something like a list control proportionally rather than absolutely. That
is, essentially I could assign "weights" x, y and z to the columns
respectively of a three-column list control; at run time, the system would
calculate the available space for the control and, given that w was
determined to be the absolute width of the control, would assign w*x /
(x+y+z) as the width of the first column, etc.
Is there a way to do this in C#?
--
TIA,
Richard
640K ought to be enough for anybody.
Bill Gates, 1981
As I recall from Java Swing, I could assign the widths of columns to
something like a list control proportionally rather than absolutely. That
is, essentially I could assign "weights" x, y and z to the columns
respectively of a three-column list control; at run time, the system would
calculate the available space for the control and, given that w was
determined to be the absolute width of the control, would assign w*x /
(x+y+z) as the width of the first column, etc.
Is there a way to do this in C#?
--
TIA,
Richard
640K ought to be enough for anybody.
Bill Gates, 1981
Comment