Multiline in a list box

Reply

Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Multiline in a list box

 
0
  #1
Aug 20th, 2007
I am getting the list items from a access database to a list box in my form. But it is showing the list items in a line for each items. As the list box is a narrow one, i cant see the whole line. How can i see the whole line in my list box, or make it in a multiline?
Can i write morethan character in a column in ms access? how?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: Multiline in a list box

 
0
  #2
Aug 20th, 2007
Hi,

Why not increase the Physical Width of the List Box, till whatever ur Form's Width...? Another way round is to Show the Data in a FlexGrid and make the Cell's Property WrapText to true...

REgards
Veena
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Re: Multiline in a list box

 
0
  #3
Aug 20th, 2007
Increasing the physical width is not possible as there are some other buttons in the form. What about the access problem?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: Multiline in a list box

 
0
  #4
Aug 20th, 2007
Hi,

I really did not get u what u want abt Access. Like if the Column is Defined for 30 Chars, then u can save 30 chars. and for textField, it is limited to 255 chars. If u want more that that, may be split it across 2-3 Columns or, use a Memo Field, it can hold up to 64K..

Regards
Veena
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
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC