Jump to content

Search the Community

Showing results for tags 'combocbox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello, i past only part of the code I´m trying to create a new list depeding of the choices of the combobox 1,2, and 3, for the combobox 10 If i ask the choice in the mensage box it respondes correctely, but if i click on the combobox10 it is empty doesnt add the $ps1 (choice of combobox1) I get the probleme alredy, is because wen i create the combox10 and the setdata, is before the variable get the value. Is there any way to add the combobox inside the loop? while 1 ..... case $???? $Combo10 = GUICtrlCreateCombo("Corpo", 273, 53, 75, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUICtrlSetData($combo10, $ps1) Any ideas?? sorry i creat 3 quots and dont know how to erase the 2 empty ones Thanks #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $dir =("FU\") #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 500, 400, 224, 137) $Button1 = GUICtrlCreateButton("reade var $ps1", 6, 360, 40, 20) GUICtrlSetFont(-1, 8, 400, 0, "Arial") $Pic1 = GUICtrlCreatePic("", 41, 51, 25, 25) $Pic2 = GUICtrlCreatePic("", 41, 83, 25, 25) $Pic3 = GUICtrlCreatePic("", 41, 113, 25, 25) $Combo1 = GUICtrlCreateCombo("Corpo", 73, 53, 75, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) jcorpo($combo1); this funcion will show list of itens $Combo2 = GUICtrlCreateCombo("Corpo", 73, 85, 75, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) jcorpo($combo2) $Combo3 = GUICtrlCreateCombo("Corpo", 73, 115, 75, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) jcorpo($combo3) $Pic10 = GUICtrlCreatePic("", 241, 51, 25, 25) $Combo10 = GUICtrlCreateCombo("Corpo", 273, 53, 75, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUICtrlSetData($combo10, $ps1 &"|"& $ps2 &"|"& $ps3); doesnt work, supostely should get the choice of combo1,1 and 3 GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Button1 MsgBox("0", "test", $ps1, "3") Case $combo1 $ps1 = GUICtrlRead($combo1) img1($combo1, $Pic1, 41, 51); this funcion will show one image depending the choice case $combo2 $ps2 = GUICtrlRead($combo2) if $ps2 = $ps1 Then MsgBox("0", "ERRO", "Repetindo seleção",2) Else img1($combo2, $pic2, 41, 83) EndIf Case $combo3 $ps3 = GUICtrlRead($combo3) if $ps3 = $ps2 or $ps3 = $ps1 Then MsgBox("0", "ERRO", "Repetindo seleção",2) Else img1($combo3, $Pic3, 41, 113) EndIf case $combo10 img1($combo10, $pic10, 41, 145) Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
×
×
  • Create New...