-
I'm referring to the rectangle that denotes focus. On a listbox it hangs around even when the control doesn't have focus, outlining at least one of the 'cells' (for lack of a better term) in the list.
As far as resizing the whole listbox. The problem with that is that the width of the listbox is divided by the number of columns. So if it's 300 wide, then each column is 150 wide. I'd like to change it so that one column is bigger basically.
Eiredrake
-
"width of listbox divided by number of columns" To me that means your dealing with a flex grid, since list boxes don't have multiple columns. To change the column size in a flexgrid:
flxInbox.ColWidth(x) = 500
where the "x" is the column #, which I believe starts with 0.
-
ListBoxes Can have multiple columns, you can specify how many you want.
-
"width of listbox divided by number of columns" To me that means your dealing with a flex grid, since list boxes don't have multiple columns. To change the column size in a flexgrid:
flxInbox.ColWidth(x) = 500
where the "x" is the column #, which I believe starts with 0.
----------
No... just a standard listbox. But it can have multiple columns... I just want to be able to change the overall width.And no it's not a flex grid...Though I'm starting to think that might be easier.
Eiredrake
-
Are you lot talking about the ListView control? Because if you are, then there are probably very few usable methods for removing the focus rectangle, since it is drawn at a very low level.
List Control - Single column, one display style, fast
ListView Control - Many columns, 4 display styles, slow