Electroteam__@hotmail.comInteresting EducationInteresting EducationElectro-Team
ComboBoxA ComboBox control is a combination of a TextBoxand a ListBox control
Open new project
Add ComboBox  Item property  press ... Button  type White, Red, Black & YellowAdd items from Design window
Run Time
You can add same items at run-timeAnother method for adding itemsAdd items by Code
Add 1 Button and Fix it
Run Time
Sb could be anything else like X, Y or Z
Add another Button and Fix it
Run Time
Double click on Button2 and type yellow phrase
Add GroupBox, Button and TextBox
Run TimeTextBox Will have the same value as ComboBox
ErrorIf there is no selected item ComboBox1.SelectedIndex willbe -1 and this will produce an ErrorComboBox1.ItemsWhiteRedB...
Produced byElectro-TeamElectroteam__@hotmail.com
Combo box
Combo box
Upcoming SlideShare
Loading in …5
×

Combo box

559 views

Published on

visual basic 2010
combobox tool

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
559
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
45
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Combo box

  1. 1. Electroteam__@hotmail.comInteresting EducationInteresting EducationElectro-Team
  2. 2. ComboBoxA ComboBox control is a combination of a TextBoxand a ListBox control
  3. 3. Open new project
  4. 4. Add ComboBox Item property press ... Button type White, Red, Black & YellowAdd items from Design window
  5. 5. Run Time
  6. 6. You can add same items at run-timeAnother method for adding itemsAdd items by Code
  7. 7. Add 1 Button and Fix it
  8. 8. Run Time
  9. 9. Sb could be anything else like X, Y or Z
  10. 10. Add another Button and Fix it
  11. 11. Run Time
  12. 12. Double click on Button2 and type yellow phrase
  13. 13. Add GroupBox, Button and TextBox
  14. 14. Run TimeTextBox Will have the same value as ComboBox
  15. 15. ErrorIf there is no selected item ComboBox1.SelectedIndex willbe -1 and this will produce an ErrorComboBox1.ItemsWhiteRedBlackyellowComboBox1.SelectedIndex0123Dim X As String =ComboBox1.Items(ComboBox1.SelectedIndex)TextBox1.Text = X
  16. 16. Produced byElectro-TeamElectroteam__@hotmail.com

×