Jump to content

Listbox with horizontal scoll bar


yawoo
 Share

Recommended Posts

Is it possible to enable the horizontal scroll bar within the listbox?

I have list item too long to show within the listbox. I cannot find any option to enable for the listbox. And I don't want to use listview, since I only have one column item for the list.

Thx a lot,

Yawoo

Edited by yawoo
Link to comment
Share on other sites

  • Developers

Is it possible to enable the horizontal scroll bar within the listbox?

I have list item too long to show within the listbox. I cannot find any option to enable for the listbox. And I don't want to use listview, since I only have one column item for the list.

Thx a lot,

Yawoo

<{POST_SNAPBACK}>

$mylist=GUICtrlCreateList ("buttons that have been clicked", 176,32,121,97,$WS_HSCROLL)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

$mylist=GUICtrlCreateList ("buttons that have been clicked", 176,32,121,97,$WS_HSCROLL)

<{POST_SNAPBACK}>

Thx a lot! It works.

It seems that it also require to set GUICtrlSetLimit which should be longer than the width of the listbox, otherwise the scrollbar will not show.

Link to comment
Share on other sites

  • 8 months later...

Thx a lot! It works.

It seems that it also require to set GUICtrlSetLimit which should be longer than the width of the listbox, otherwise the scrollbar will not show.

Thanks for finding that out! It'd be nice if this was documented somewhere... it was driving me crazy.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...