all groups > vb.net upgrade > november 2003 >
You're in the

vb.net upgrade

group:

Question about ComboBox!


Question about ComboBox! leslie
11/11/2003 10:38:03 PM
vb.net upgrade:
Hi,

Is there a method to forbidden displaying the listbox
of the comboBox? In other words, when click the comboBox,
don't display the drapDown list!


Any advice is appreciated!
Thanks in advance.


RE: Question about ComboBox! sstein NO[at]SPAM online.microsoft.com (
11/17/2003 8:20:07 PM
Leslie,

set the DropDownStyle to simple to disable the drop down:

ComboBox1.DropDownStyle = ComboBoxStyle.Simple


hope that helps


Steve Stein,
Visual Basic Team

--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).


--------------------
[quoted text, click to view]
AddThis Social Bookmark Button