שתף באמצעות


Vertical Scroll in list Box

Question

Saturday, June 25, 2016 8:17 PM

I have a list Box and the horizontal scroll appear. How to make the vertical scroll appear instead of horizontal scroll (single column), (There are no item for view property to make it details)

Hany Metry

All replies (4)

Saturday, June 25, 2016 8:52 PM ✅Answered

Hi

The default Properties for a ListBox seems to be ScrollAlways=False and HorizontalScroll=False

With those Properties, I get a Vertical ScrollBar when box items are greater than display space,and no Horizontal ScrollBar.

Did you alter any of the ListBox Properties?

Regards Les, Livingston, Scotland


Saturday, June 25, 2016 9:46 PM ✅Answered

When I make multi column = False, in addition to horizontal scroll = False, the vertical scroll appear.

Thanks

Hany Metry


Saturday, June 25, 2016 9:04 PM

Please check your question before you post it.  You have changed it from ListView to ListBox and now back to ListView again.  You have also edited your question and added more details now.  It is hard to answer when you keep editing and changing your posts.

If you say it can`t be done then i`ll try it


Saturday, June 25, 2016 9:43 PM

Sorry it is a list box, and even I make horizontal scroll false, still the horizontal scroll viewed during run. Is it related to rectangularity of the listbox.

The hight of my listbox still large than the width.

 

Hany Metry