Combobox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • parkho
    New Member
    • Feb 2008
    • 6

    #1

    Combobox

    Hi

    I have 3 forms that I want to relate them to each other meaning that the first form loads with a combo box and an OK button. When the dropdown button is pressed there are 2 options. If the first option is selected the second form loads and continues and if the second option is selected the third form loads and continues. Your urgent respond to this matter will be greatly appreciated.

    Thanks
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Originally posted by parkho
    Hi

    I have 3 forms that I want to relate them to each other meaning that the first form loads with a combo box and an OK button. When the dropdown button is pressed there are 2 options. If the first option is selected the second form loads and continues and if the second option is selected the third form loads and continues. Your urgent respond to this matter will be greatly appreciated.

    Thanks
    Set your combox ListIndex = 0 and StyleProperty = Dropdown List for accuracy.

    [CODE=vb]
    if Combo1.Text="Sh ow 2nd Form" Then
    Form2.Show
    Else
    Form3.Show
    End If
    [/CODE]

    Comment

    Working...