Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: "JP Bless" <jp3BlessNoSpam@xxxxxxxxxxx>
- Date: Sun, 10 Dec 2006 08:14:11 -0500
Or Projects => Components => Check "Windows Common Controls 6.0"
Select Listview from components tab
"Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx> wrote in message
news:%23$J1koFHHHA.4056@xxxxxxxxxxxxxxxxxxxxxxx
Makes sure that comctl32.ocx or mscomctl.ocx exists on your machine and is
registered (reregister it using regsvr32.exe if necessary). It should show
up as "Microsoft ListView Control"
Randy Birch has great examples of using the Listview control at
http://vbnet.mvps.org/code/comctl/index.html
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Javad" <Javad@xxxxxxxxx> wrote in message
news:Oi5NUJBHHHA.4804@xxxxxxxxxxxxxxxxxxxxxxx
Helo JP
Thank you for the link. That project was using a vbTab method, but I
wasn't looking for this.
Can you please tell me where the "ListView" is? When I go to:
Project> Components
I have no "ListView" or "Microsoft ListView" in there. Where is it?
Thank you
"JP Bless" <jp3BlessNoSpam@xxxxxxxxxxx> wrote in message
news:eHekSBuGHHA.420@xxxxxxxxxxxxxxxxxxxxxxx
http://www.freevbcode.com/ShowCode.asp?ID=3680
Download sample project
Also listView (Report View) more manageable.
"Javad" <Javad@xxxxxxxxx> wrote in message
news:%23%231PDRpGHHA.1232@xxxxxxxxxxxxxxxxxxxxxxx
Hello
It's 2 days I'm searching google to find a way to put a "Multicolumn
Listbox" in my VB6 program, finally I got the suggestion to add
"Microsoft Forms 2.0" to the components of my project and use its
"Listbox", but as I tried, I couldn't find the way to put data in its
columns.
Now I have 2 questions about this new listbox of MS-Forms2:
1- How can I set the header of column 3 of the listbox to "Last Name"?
2- How can I set the value of column i of row j of this listbox to
"Williams"?
Any help is greatly appreciated. (and please don't suggest me to use a
"datagrid" or "flexgrid", I need a listbox, not a table)
Thank you
.
- Follow-Ups:
- Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: Javad
- Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- References:
- MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: Javad
- Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: JP Bless
- Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: Javad
- Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- From: Douglas J. Steele
- MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- Prev by Date: Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- Next by Date: Re: Developer Use of Visual Basic Plummets
- Previous by thread: Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- Next by thread: Re: MultiColumn Listbox (MS-Forms 2.0 (VB6) )
- Index(es):
Relevant Pages
|