Jump to content

Search the Community

Showing results for tags 'CBS_DROPDOWNLIST'.

  • 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

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

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. Sample code: ; Enter username to transfer item to Input $newUserInput = GUICtrlCreateCombo("", 180, 170, 350, 35, BitOR($CBS_DROPDOWNLIST, $WS_VSCROLL, $CBS_SORT)) GUICtrlSetFont(-1, 14, 400, 0, "Tahoma") GUICtrlSendMsg(-1, $CB_SETMINVISIBLE, 10, 0) Part 2 of sample code: If $itemString <> "" Then Local $mySQLstatement = "SELECT * FROM Inventory WHERE Name = '" & $itemString & "' AND Status = 1" $executeStatement = _Query($global_SQLInstance, $mySQLstatement) $internalName = $executeStatement.Fields("Name").value $usernameID = $executeStatement.Fields("UserID").value GUICtrlSetData($userInput, getName("User", $usernameID)) GUICtrlSetData($itemInput, "|" & getString("UserItem", $usernameID) & "|", $Name) GUICtrlSetData($newUserInput, "|" & getString("Username", $usernameID)) EndIf Is it possible to prevent users from changing selection of items in the combobox? If so, is it possible to retrieve the value or data of the item currently shown in the combobox? If so/not so, how do I retrieve the value of item displayed?
×
×
  • Create New...