VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6990
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   6990
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   "Select 2nd Item"
      Height          =   735
      Left            =   4920
      TabIndex        =   5
      Top             =   1680
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Select 2nd Item"
      Height          =   735
      Left            =   2760
      TabIndex        =   4
      Top             =   1680
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Select 2nd Item"
      Height          =   735
      Left            =   480
      TabIndex        =   3
      Top             =   1680
      Width           =   1215
   End
   Begin VB.ComboBox cboStyle2 
      Height          =   315
      Left            =   4920
      Style           =   2  'Dropdown List
      TabIndex        =   2
      Top             =   480
      Width           =   1215
   End
   Begin VB.ComboBox cboStyle1 
      Height          =   960
      Left            =   2760
      Style           =   1  'Simple Combo
      TabIndex        =   1
      Text            =   "Combo2"
      Top             =   480
      Width           =   1215
   End
   Begin VB.ComboBox cboStyle0 
      Height          =   315
      Left            =   480
      TabIndex        =   0
      Text            =   "Combo1"
      Top             =   480
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()

    cboStyle0.ListIndex = 1
    
End Sub

Private Sub Command2_Click()

    cboStyle1.ListIndex = 1

End Sub


Private Sub Command3_Click()

    cboStyle2.ListIndex = 1

End Sub


Private Sub Form_Load()


    cboStyle0.AddItem "ListIndex 0"
    cboStyle0.AddItem "ListIndex 1"
    cboStyle0.AddItem "ListIndex 2"
    
    cboStyle1.AddItem "ListIndex 0"
    cboStyle1.AddItem "ListIndex 1"
    cboStyle1.AddItem "ListIndex 2"
    
    cboStyle2.AddItem "ListIndex 0"
    cboStyle2.AddItem "ListIndex 1"
    cboStyle2.AddItem "ListIndex 2"

End Sub


