DropDown

<< Click to Display Table of Contents >>

 

DropDown

DropDown()

This method opens a list of items from a Combo. Calling this method has the same effect as clicking, at run time, the 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?