Jump to content
Sign in to follow this  

Listbox: How to deal with long lines that get cut off?

Recommended Posts

Hey guys,

When I make a listbox, sometimes I have entries added into it that are very long (longer than the width of the listbox itself). So these entries get cut off and there is no way for me to see the part that gets cut.

Well, I can think of two ways to overcome this problem.

1) Add a horizontal scrollbar to the listbox. This works, but not the way I want it to. I can only add a horizontal scrollbar with a fixed width. This means that the scrollbar is always visible and lets me scroll all the way to the end even if the scrollbar isn't needed. Is there any way to get the horizontal scrollbar to work just like the vertical scrollbar? (You know, the vertical scrollbar only shows up when needed, and adjusts to the correct height automatically).

2) Make a tooltip that displays the full listbox entry when the mouse hovers over it. Don't know how to do this one... but it sounds like a cool idea.

If anyone knows how to solve this problem, please help.


Edited by lemony

Share this post

Link to post
Share on other sites

Thanks Zedna, I'll check that out right away. I hope it works out :)

btw, is my tooltip idea even possible? I've seen it done before, but I don't know if it can be done with AutoIt.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...