|
-
Aug 31st, 2008, 02:16 AM
#1
Thread Starter
Member
[2005] ComboBox DropdownStyle
Hi All, I need a help regarding my combobox problem. I want this to be in dropdownlist style always but my problem is it does't accept the value that i need to assign in the run mode, in fact it will always go to index 0.
-
Aug 31st, 2008, 07:50 AM
#2
Re: [2005] ComboBox DropdownStyle
Well if you want it to select a different index then use the SelectedIndex property like so:
vb Code:
MyComboBox.SelectedIndex = 3
-
Aug 31st, 2008, 01:24 PM
#3
Re: [2005] ComboBox DropdownStyle
 Originally Posted by jbatman
Hi All, I need a help regarding my combobox problem. I want this to be in dropdownlist style always but my problem is it does't accept the value that i need to assign in the run mode, in fact it will always go to index 0.
Hi,
Go to the properties of your combobox and select MaxDropDownItem = 3,
then during runtime it will show only 3 items.
Wkr,
sparrow1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|