How to change the column width of a multi-line list box 
Author Message
 How to change the column width of a multi-line list box

How do you change the column width of a multi-line list box? Right now,
they are about TWICE as wide as the data they are holding, and really look
shoddy.

Any help would be appreciated.

Mike Matheny



Sat, 06 May 2000 03:00:00 GMT  
 How to change the column width of a multi-line list box


Fri, 19 Jun 1992 00:00:00 GMT  
 How to change the column width of a multi-line list box

Make that multi-column!



Quote:
> How do you change the column width of a multi-line list box? Right now,
> they are about TWICE as wide as the data they are holding, and really
look
> shoddy.

> Any help would be appreciated.

> Mike Matheny



Sat, 06 May 2000 03:00:00 GMT  
 How to change the column width of a multi-line list box

I don't believe that property can be changed, however, you may consider
using an MSFlexGrid control instead. You can make it to look identical to
the "multi-columned' list box, and also have complete control over column
width. Be aware: The MSFlexGrid ColWidth property is only visibly changable
at runtime.

Keith



Sat, 06 May 2000 03:00:00 GMT  
 How to change the column width of a multi-line list box


Fri, 19 Jun 1992 00:00:00 GMT  
 How to change the column width of a multi-line list box

http://www.mabry.com/listx
Mabry Software - multi-column listbox control, named List/X+
This is a new OCX recently released it's for 32-bit

--
Henri
remove "MyName"



: How do you change the column width of a multi-line list box? Right now,
: they are about TWICE as wide as the data they are holding, and really
look
: shoddy.
:
: Any help would be appreciated.
:
: Mike Matheny
:



Wed, 10 May 2000 03:00:00 GMT  
 How to change the column width of a multi-line list box


Fri, 19 Jun 1992 00:00:00 GMT  
 How to change the column width of a multi-line list box

I need the checkboxes of the listbox. Is this possible with this control?

Mike



Quote:
> I don't believe that property can be changed, however, you may consider
> using an MSFlexGrid control instead. You can make it to look identical to
> the "multi-columned' list box, and also have complete control over column
> width. Be aware: The MSFlexGrid ColWidth property is only visibly
changable
> at runtime.

> Keith



Wed, 10 May 2000 03:00:00 GMT  
 How to change the column width of a multi-line list box


Fri, 19 Jun 1992 00:00:00 GMT  
 How to change the column width of a multi-line list box

Hi Mike,

you can send a message to the ListBox to change the column width:

Const LB_SETCOLUMNWIDTH = &H195

Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd
As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long

dim ColWidth as byte

SendMessage List1.hwnd, LB_SETCOLUMNWIDTH, ColWidth, 0

Hope tius helps...
Hartmut

Mike Matheny schrieb in Nachricht

Quote:
>How do you change the column width of a multi-line list box? Right now,
>they are about TWICE as wide as the data they are holding, and really look
>shoddy.



Fri, 12 May 2000 03:00:00 GMT  
 
 [ 10 post ] 

 Relevant Pages 

1. How to change the column width of a multi-line list box

2. NEEDED:Multi Column Databound List Box or Combo Box

3. Multi Column TextBox Column Widths

4. Help - Create Multi Column List Box In VBA

5. Multi-column List Box Controls

6. Question: Good data aware multi column list box?

7. Multi-Column List box that supports Images?

8. multi-column lists/combo boxes

9. Multi-column List Box Controls

10. Formatting unequal len strings for multi column display in a list box

11. Multi-Column List/Combo Box Reqd

12. Multi-column list boxes?

 

 
Powered by phpBB® Forum Software