ListBox Formatting, increase row size to fit text? (1 Viewer)

mamradzelvy

Member
Local time
Today, 16:26
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.
 

Minty

AWF VIP
Local time
Today, 15:26
Joined
Jul 26, 2013
Messages
10,368
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.
 

isladogs

MVP / VIP
Local time
Today, 15:26
Joined
Jan 14, 2017
Messages
18,209
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

Top Bottom