Jump to content

Combo Selection


Recommended Posts

Okay, boys and girls.

I have read your posts above and didn't find answer for my following question: How to use ComboBox(DropDown) entry selection?

There is function: 


"If a matching item is found, it is selected and copied to the edit control."

I have following script:

"#include <GuiComboBox.au3>

_GUICtrlComboBox_SelectString(5047, "Broker Contract")"
>>>> Control <<<<
Class: ComboBox
Instance: 1
ClassnameNN: ComboBox1
Advanced (Class): [CLASS:ComboBox; INSTANCE:1]
ID: 5047
Position: 149, 105
Size: 260, 21
ControlClick Coords: 79, 11
Style: 0x50010203
ExStyle: 0x00000004
Handle: 0x00550D5A


From console:

>"...autoit3.exe" /ErrorStdOut "...XA_New_ResCon.au3"    
>Exit code: 0    Time: 3.212
No errors... No selection of necessary entry...
What's wrong?
Edited by AlexProX
Link to comment
Share on other sites

  • Moderators


Did you notice that the last post in the thread you originally hijacked dated from over 9 years ago and that the OP had not been online for over 7 years? :huh:

Please do not necro-post like that again - just open a new thread (as I have now done for you) and link to the old one if it is absolutely necessary for understanding the problem. We ask you to do this for two main reasons:


- 1. The language advances and the functionality might well be included in core or UDF code by now

- 2. The changes in language syntax mean that it is likely that code from more than a couple of years ago may well not run under the current release interpreter without significant modification.

Thanks for your understanding. :)


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


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

  • Recently Browsing   0 members

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