How to set drop-down arrow property for VB ListBox

Greetings,

As seen in the picture below I have two ListBox examples.  The top picture is a VB ListBox, the bottom one is in C#

I've messed around with the VB properties but I can't get that arrow to show.  How is this done?

I've also attempted to set the properties via the code:

Me.ListBox1.AllowDrop = True
Me.ListBox1.SelectionMode = SelectionMode.One

Any ideas?
Thanks!
drop-down-option-for-listbox.JPG
John500Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

silemoneCommented:
make sure under properties, locked doesn't equal true...
silemoneCommented:
oops...i was talking about resizing...i see the arrow which you are referring to now...it's not there?
silemoneCommented:
but make sure Locked = false...for either resizing or for binding and it should return...
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

John500Author Commented:
>> and it should return

Problem is I never had it.  The example I'm looking for is seen in the bottom picture but the top picture of my first post is the VB ListBox

Under properties, there is nothing for resizing.  The entire Form is set to one size by virtue that MaximumSize is set to false.  

There's nothing for bindings either.  The 'Unbound' property is part of the C# ASPX ListBox in the picture.....

Any other ideas?
silemoneCommented:
oh.. you want the scroll triangle or the triangle that lets you format/add items?  two different triangles there...
silemoneCommented:
Those appear to be two different controls...one is a dropdownlist and the other is a listbox...
silemoneCommented:
dropdownlistbox = combo box in winforms...

silemoneCommented:
1)  so it appears one control is a listbox (vb) and the other is a comboBox(c#) as one has the dropdown scroll that is always with the combo Box...
2)  the little triangle should show allow you to add items or bind data for both controls...
3)  the resizing issue:  may be locked in code....listbox.Locked = true...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
John500Author Commented:
I just decided to stick with the double arrows in the ListBox.  Thanks

How about this question:

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_23919663.html
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.