J
Jeff Gaines
I am using a ToolStrip with several ToolStripSplitButtons that have
attached ToolStripDropDowns.
Because of the number of items that have to be shown I am using:
tsDropDown.LayoutStyle = ToolStripLayoutStyle.Table;
((TableLayoutSettings)tsDropDown.LayoutSettings).ColumnCount =
(int)(numMenuItems / 15);
Which splits the menus into columns of 15 items.
It all works as intended but the sort order is driving me mad. It sorts
across the first row then the second row etc. This is columnar data and I
want it sorted down the first column then down the second etc. I've
noticed that Win7 uses this sort order in its own programs which may
explain why I cannot find anything in Control Panel.
Is there a layout style that will sort down then across?
If not I'll have to brush up my mods and divs and sort the list of items
differently!
attached ToolStripDropDowns.
Because of the number of items that have to be shown I am using:
tsDropDown.LayoutStyle = ToolStripLayoutStyle.Table;
((TableLayoutSettings)tsDropDown.LayoutSettings).ColumnCount =
(int)(numMenuItems / 15);
Which splits the menus into columns of 15 items.
It all works as intended but the sort order is driving me mad. It sorts
across the first row then the second row etc. This is columnar data and I
want it sorted down the first column then down the second etc. I've
noticed that Win7 uses this sort order in its own programs which may
explain why I cannot find anything in Control Panel.
Is there a layout style that will sort down then across?
If not I'll have to brush up my mods and divs and sort the list of items
differently!