Listbox with Columns

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2005
Posts: 6
Reputation: StephenHancox is an unknown quantity at this point 
Solved Threads: 0
StephenHancox StephenHancox is offline Offline
Newbie Poster

Listbox with Columns

 
-1
  #1
Feb 11th, 2005
Hi,
Im trying to populate a listbox with 3 database fields in a row such as
Name, Address, Tel at the moment Im creating 3 recordsets for each field and them adding them to the listbox but it looks like
Joe Bloggs In a House 2452345
John Smith In a Caravan 89708080

Id like to get it looking like this in columns
Name Address Tel
Joe Bloggs In a house 245345
John Smith In a Caravan 89708080

Any help would be really appreciated.
Thanks
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 40
Reputation: Buff is an unknown quantity at this point 
Solved Threads: 0
Buff Buff is offline Offline
Light Poster

Re: Listbox with Columns

 
0
  #2
Feb 11th, 2005
The easiest way is to use a fixed font in your listbox.
Otherwise, try tabbing with chr$(9)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 13402 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC