The main issue is not making the horizontal scrollbar visible or not – that is accomplished well with the ScrollWidth property.
However, what happens in runtime is when you scroll the window using the horizontal scrollbar, no additional scrolled text is seen! The entire contents of the ListBox do seem to “jiggle”; however, it seems like during the entire course of scrolling only one pixel additional is seen then immediately everything is shifted back. The bottom line is no horizontal scrolling is actually performed.
We can reproduce this by:
-Create a TSListBox
-AutoHideScroll is true
-ScrollWidth is 2000 (so the horizontal scrollbar is always visible)
-Find some way to add a string to the TSListBox that is longer than the width of the TsListBox
-Run the program, add the long line, then try to scroll horizontally