DropDown

<< Click to Display Table of Contents >>

 

DropDown

DropDown()

This method opens the list of items of this object. Calling this method has the same effect as clicking, at run time, this object's right side button. The next script contains an example of using this method.

Sub CommandButton1_Click()
  Dim ComboBox1
  ComboBox1.AddItem "Pineapple"
  ComboBox1.AddItem "Strawberry"
  ComboBox1.AddItem "Grape"
  ComboBox1.AddItem "Orange"
  ComboBox1.DropDown()
End Sub

Was this page useful?