inputbox - ifabfrage bei ok und cancel button

    • Offizieller Beitrag

    Hier mal anhand eines Beispiels:

    [autoit]


    #include <GUIConstants.au3>

    [/autoit][autoit][/autoit][autoit]

    GUICreate('test', 640, 480)
    $combo = GUICtrlCreateCombo('Default', 10, 10, 80, 20, $CBS_DROPDOWNLIST)
    GUICtrlSetData(-1, 'aaa|bbb|ccc|ddd')
    GUISetState()
    GUICtrlSetData($combo, 'bbb')
    Sleep(5000)
    GUICtrlSetData($combo, 'Default')
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE

    [/autoit]