Link to home
Start Free TrialLog in
Avatar of John500
John500Flag for United States of America

asked on

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
Avatar of silemone
silemone
Flag of United States of America image

make sure under properties, locked doesn't equal true...
oops...i was talking about resizing...i see the arrow which you are referring to now...it's not there?
but make sure Locked = false...for either resizing or for binding and it should return...
Avatar of John500

ASKER

>> 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?
oh.. you want the scroll triangle or the triangle that lets you format/add items?  two different triangles there...
Those appear to be two different controls...one is a dropdownlist and the other is a listbox...
dropdownlistbox = combo box in winforms...

ASKER CERTIFIED SOLUTION
Avatar of silemone
silemone
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John500

ASKER

I just decided to stick with the double arrows in the ListBox.  Thanks

How about this question:

https://www.experts-exchange.com/questions/23919663/Using-Split-to-parse-a-string.html