HighTechTalks DotNet Forums  

Multicolumn Listbox

VB.net Controls microsoft.public.dotnet.languages.vb.controls


Discuss Multicolumn Listbox in the VB.net Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
tsluu
 
Posts: n/a

Default Multicolumn Listbox - 11-12-2009 , 02:25 AM






Im used to MSAccess listbox where I can hv several columns displayed with a
vertical scrollbar at the side. I can even control the size of each column.
Is it possible in vb.net?

Reply With Quote
  #2  
Old   
Captain Jack
 
Posts: n/a

Default Re: Multicolumn Listbox - 11-12-2009 , 08:19 AM






"tsluu" <tsluu (AT) discussions (DOT) microsoft.com> wrote

Quote:
Im used to MSAccess listbox where I can hv several columns displayed with
a
vertical scrollbar at the side. I can even control the size of each
column.
Is it possible in vb.net?
The ListView control can do that... set the View property to Details, and
add columns with the Columns collection property. The Scrollable property
controls whether a scroll bar is displayed.

Also, the DataGridView is a more comprehensive control that shows data in
columns, and has more flexibility.

--
Jack

Reply With Quote
  #3  
Old   
tsluu
 
Posts: n/a

Default Re: Multicolumn Listbox - 11-12-2009 , 05:49 PM



Hi Captain Jack,

Appreciate your reply. Im new to VB.NET. I thought the same functionalities
of listbox or coombobox are carried down to .Net from MSAccess. Seems that
they are different altogether. Thus more getting used to.

cheers

"Captain Jack" wrote:

Quote:
"tsluu" <tsluu (AT) discussions (DOT) microsoft.com> wrote in message
news:76370419-C956-4878-AE9A-FB69A6D1FF80 (AT) microsoft (DOT) com...
Im used to MSAccess listbox where I can hv several columns displayed with
a
vertical scrollbar at the side. I can even control the size of each
column.
Is it possible in vb.net?

The ListView control can do that... set the View property to Details, and
add columns with the Columns collection property. The Scrollable property
controls whether a scroll bar is displayed.

Also, the DataGridView is a more comprehensive control that shows data in
columns, and has more flexibility.

--
Jack


.

Reply With Quote
  #4  
Old   
Herfried K. Wagner [MVP]
 
Posts: n/a

Default Re: Multicolumn Listbox - 11-12-2009 , 07:45 PM



tsluu schrieb:
Quote:
Appreciate your reply. Im new to VB.NET. I thought the same functionalities
of listbox or coombobox are carried down to .Net from MSAccess. Seems that
they are different altogether. Thus more getting used to.
Just note that Captain Jack's reply only provides replacements for
multi-column listboxes, but not for comboboxes containing a drop-down grid.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.