ListBox Formatting, increase row size to fit text?

mamradzelvy

Member
Local time
Tomorrow, 00:49
Joined
Apr 14, 2020
Messages
145
Hi,
I'm looking for a way to handle somewhat lengthy descriptions within a listbox without making the row longer but taller instead, is there a way to adjust a listbox's rows to scale automatically to the text?
I'm trying to avoid listview as i have no experience with ActiveX and seeing as i can't even make one because i don't have a OLE server installed, also i'm not even sure whether listview enables me to do such formatting anyways.
 
Short answer is you can't.

Longer answer is you could embed a Report in your form and that can grow and shrink. But you can't use it as a multi-select list box. Needs more effort and coding.
 
What I suggest you do is display the selected listbox item in a separate textbox to display the text over several lines.
For example see the screenshot in my example app at
 

Users who are viewing this thread

Back
Top Bottom