Adding horizontal scroll bar in Listbox

Y

Yaser

I want to add horizontal scroll bar to the listbox that i
am using. The method for adding the horizontal scrollbar
in a listbox that works for VB fails for VBA.

I tried it with listview control as well but there too
when i set it to list the horizontal scrollbar disappears.

Is there any solution to this issue? Is there any
alternative?

Thanx
 
J

Jack D.

Yaser said:
I want to add horizontal scroll bar to the listbox that i
am using. The method for adding the horizontal scrollbar
in a listbox that works for VB fails for VBA.

I tried it with listview control as well but there too
when i set it to list the horizontal scrollbar disappears.

Is there any solution to this issue? Is there any
alternative?

Thanx

Are you sure that the elements in your list are long enough that the scroll
bar is required? Sometimes if they are short then the scroll-bar doesn't
appear.
I'm sorry that I am not familiar enough with that control to tell you if it
even has a scroll bar, but perhaps you could try a different listbox
control - even the one from VB.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
Y

Yaser

Yes Jack i am sure they are long enough. I cant see the
complete text. I also tried doing this with Listview
control from VB but the result is the same.
 
J

Jack D.

Yaser said:
Yes Jack i am sure they are long enough. I cant see the
complete text. I also tried doing this with Listview
control from VB but the result is the same.

Too bad. I'm all out of suggestions here. If you find a solution let us
know.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
G

Gérard Ducouret

Hello Jack and Yaser,
In Project VBA, the horizontal scroll bar appears without any special
setting in the listbox when the text is too large. I checked it right now.

Gérard Ducouret
 
J

Jack D.

Gérard Ducouret said:
Hello Jack and Yaser,
In Project VBA, the horizontal scroll bar appears without any special
setting in the listbox when the text is too large. I checked it right now.

Gérard Ducouret

Thanks for the confirmation. That is what I thought happens. However the
poster does not seem to be getting this behavior. Still a mystery.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP
email: J -at- eM Vee Pee S dot COM


+++++++++++++++++++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top