Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement