Jump to content

combobox values


vimala
 Share

Recommended Posts

hello

I have tried with _guictrlcombobox _* udf's but still iam unable to send exact value to a combobox.

will u please help me quickly.

bye

vimala

Hi,

it seemed you haven't had a look in helpfile.

Just an example:

#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiComboBox.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 115)
$Combo1 = GUICtrlCreateCombo("", 144, 56, 145, 25)
_GUICtrlComboBox_AddString($Combo1, "Added")
For $i = 1 To 5
    _GUICtrlComboBox_AddString($Combo1, "Added" & " " & $i)
Next
_GUICtrlComboBox_SetCurSel ($Combo1, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

;-))

Stefan

Link to comment
Share on other sites

Hi,

it seemed you haven't had a look in helpfile.

Nor has the OP bothered to reply to the previous answer to this double-post...

:D

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...