Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Combobox multiline

Posted on 2013-06-18
1
Medium Priority
?
492 Views
Last Modified: 2013-06-18
Hi,

I have a combobox with very long paragraphs as choices in the drop down.

Would there be a way to show the choices each as multiline instead of one long line for each choice, there's no way to display the entire paragraph in the drop down as a line, it's too long!
0
Comment
Question by:FCapo
1 Comment
 
LVL 19

Accepted Solution

by:
Ken Butters earned 2000 total points
ID: 39257190
I don't know of a way to allow for a multi-line combo box selection... but here are some alternatives. (there are several good solutions in this thread)

http://social.msdn.microsoft.com/forums/en-US/winforms/thread/e234c4a7-0cf7-4284-a072-8152f7593002/

The idea is to create a separate place to display the full text (as in a tool-tip), but allow the combo-box to only contain a short description for each selection.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

972 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