User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 363,521 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,463 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 1151 | Replies: 3
Reply
Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Question Multiline in a list box

  #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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2006
Posts: 646
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 86
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Master Poster

Re: Multiline in a list box

  #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  
Join Date: Jun 2007
Posts: 29
Reputation: shahriar2403 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
shahriar2403 shahriar2403 is offline Offline
Light Poster

Re: Multiline in a list box

  #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  
Join Date: Nov 2006
Posts: 646
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 86
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Master Poster

Re: Multiline in a list box

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Thread Tools Display Modes

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

All times are GMT -4. The time now is 4:18 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC