简体   繁体   中英

Making a ListBox item go onto the next line

Hello i currently have a list box, which when it reach the end of the list box it carries on writing rather then over flowing on to the next line, how do i get it to overflow onto the next line? or is that not possible?

Edit: Sorry i forgot to mention windows forms.

I assume that you are working with WinForms. In that case you will have to use a owner- drawn ListBox.

See eg An editable multi-line listbox for .NET . It gives you an idea how you can do it.

Or this: Multiline listbox

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM