Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can scroll bars be disabled from a Listbox?

Status
Not open for further replies.

tamer64

IS-IT--Management
Aug 27, 2007
120
US
I have a form which has several listbox's and I was wondering if there was a way to disable the horizotial and vertical scrollbars or maybe even to choose which sroll bars to disable?
 
How are ya tamer64 . . .

To the best of my knwoledge:

Verticle scollbars won't show if the height of the Listbox is enough to include all rows in the Listbox ... if not ... [blue]your sure gona need them![/blue]

Horizontal scrollbars won't show if the width of the Listbox is enough to include all columns.

[blue]Your Thoughts? . . .[/blue]

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Aceman1 is right on, as usual! The question here, that begs asking, is why in the world would you want to disable the scroll bars? What good is a Listbox if you can't view all of its data?

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
I used the wrong word "Disable" I was trying to hide the horizontial bar and I found out by extending the box I was was able to hide the scroll bar.
 
Glad you got it fixed!

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top