General information
Category:
Forms & Form designer
AFAIK, there is no property that let you hide the scrollbar. What you can do, is place a shape control with BorderStyle = 0 - Transparent over the scrollbar. If the number of items in the listbox require a scrollbar, you hide the shape, otherwise you show it, masking the scrollbar.
HTH
>I am using the listBox control in one of the forms. The scrollBar shows up (disabled, ofcourse) even when the number of items in the list does not exceed the visible area. I would like the scrollbar to appear only when necessary. Is there any property in listbox that I can set to control that. Any other ideas are appreciated.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only