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?
 
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...
0
 
silemoneCommented:
make sure under properties, locked doesn't equal true...
0
 
silemoneCommented:
oops...i was talking about resizing...i see the arrow which you are referring to now...it's not there?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
silemoneCommented:
but make sure Locked = false...for either resizing or for binding and it should return...
0
 
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?
0
 
silemoneCommented:
oh.. you want the scroll triangle or the triangle that lets you format/add items?  two different triangles there...
0
 
silemoneCommented:
Those appear to be two different controls...one is a dropdownlist and the other is a listbox...
0
 
silemoneCommented:
dropdownlistbox = combo box in winforms...

0
 
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.