|
-
Jul 18th, 2000, 09:25 AM
#1
Thread Starter
Addicted Member
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
-
Jul 18th, 2000, 09:47 AM
#2
Member
"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.
-
Jul 18th, 2000, 10:12 AM
#3
ListBoxes Can have multiple columns, you can specify how many you want.
-
Jul 18th, 2000, 12:44 PM
#4
Thread Starter
Addicted Member
"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
-
Jul 18th, 2000, 12:47 PM
#5
Monday Morning Lunatic
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
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|