• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Combo box
 

Combo box

on

  • 345 views

visual basic 2010

visual basic 2010
combobox tool

Statistics

Views

Total Views
345
Views on SlideShare
340
Embed Views
5

Actions

Likes
0
Downloads
9
Comments
0

1 Embed 5

http://www.edmodo.com 5

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Combo box Combo box Presentation Transcript

    • 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.ItemsWhiteRedBlackyellowComboBox1.SelectedIndex0123Dim X As String =ComboBox1.Items(ComboBox1.SelectedIndex)TextBox1.Text = X
    • Produced byElectro-TeamElectroteam__@hotmail.com