Scroll Bars Question

  • Thread starter Thread starter James
  • Start date Start date
J

James

Hello is there anyway that on a list box I could get the
scroll bar to show only when needed? So that its not there
all the time... Just when the user needs to scroll down?

Many Thanks

James
 
That's the default behaviour of list boxes (to not show the scroll bar
unless it's required). Is it possible that you have blank rows being
returned, so that it looks as though there isn't data, but there actually
are rows in the list box?
 
Not that I know of. Check out www.lebans.com and see if there is a solution there.

If I were trying to do this, I would probably use two controls. The Listbox
itself and a textbox. I would set the Listbox to be invisible and the textbox
to be visible. When the textbox control got the focus, I would set the listbox
visible, give it the focus, and set the textbox to invisible. When the listbox
lost focus I would set the textbox to visible and hide the listbox.

Sounds like a lot of work to me for a reason that I don't understand.
 
... For some reason though when you click on the list box
the scroll bar appears but its not needed... I have no
blank records in the databse...

Is there some code or anything I can use to do this???

Thanks

James
 
I'm unable to reproduce your scenario, so I'm afraid I can't offer any
solution as to how to get around it!
 
Would it help if I were to send you a cut down version of
the databse Zipped up???

Many Thanks

James
 
I am using Access 2000....

I can cut it down to Access 97 if you wish....

If this is ok please let me have your E-Mail address and I
will E-Mail it to you...

Many Thanks

James
 
I'd prefer 97. Make sure you clearly indicate which control on which form is
causing the problem.

Remove the two NOSPAM_ from my e-mail to use it.

And no guarantees that I'll be able to get to it before the weekend.
 
Back
Top