Solved

dropdownlist text

Posted on 2004-09-10
8
307 Views
Last Modified: 2008-03-03
hi

i am populating a dropdownlist from database. the query is working fine.

problem is the full text is not appearing in dropdownlist.

e.g if it is "expenses-legder full details" in database.

in dropdownlist its showing only  "expenses-ledger " and omitting rest of the characters.

is there any property of dropdownlist i can set to get this work.

thanks

ss
0
Comment
Question by:sandeep437
8 Comments
 
LVL 4

Expert Comment

by:Kaarthick
ID: 12028027
Hi sandeep,

i think u need to set the size of the dropdown to auto so that it will expand depending upon the data.
0
 

Author Comment

by:sandeep437
ID: 12028077
hi karthick

there is no property such as "size" for dropdown.

any idea
0
 
LVL 4

Accepted Solution

by:
Kaarthick earned 63 total points
ID: 12028106
There was a previous post  in EE for the same in VB. See that so that it will be of some use.

"How to set a combo box on a VB form to auto-expand"

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21078266.html
0
 
LVL 3

Assisted Solution

by:imu79
imu79 earned 62 total points
ID: 12028113
use the 'DropDownWidth' property.

Imran.
0
 
LVL 2

Expert Comment

by:ahmadfuwad
ID: 12082674
you need to expand your control width using DropDownWidth property otherwise there are no other solution
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now