Jump to content
Sign in to follow this  
billmez

Line wrap in list view?

Recommended Posts

billmez

Is it possible to have text inserted into a list view item wrap instead of the horizontal scroll?

I need to insert 12 to 18 items into a GUI control not knowing the length of the items, and have them selectable or clickable, and if possible setting a tool tip item on hover and clearing it on mouse out.

All suggestions are appreciated.

Share this post


Link to post
Share on other sites
neogia

My first instinct is to to a StringLen($itemTextToInsert) and if it's over a certain length, cut it off and make a second list item with the remainder of the text. If you decide to do this, keep in mind that you have to make both list items point to the same function, or else hovering over the remainder list item won't activate the function you want.


[u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.