Sign in to follow this  
Followers 0
vvb

[Solved] selecting combobox item by index

2 posts in this topic

#1 ·  Posted (edited)

Hi All,

I am trying to configure a third-party software. On one of its pages is a combobox where each entry is an icon and a text. However, I cannot use ControlCommand nor _GUICtrlComboBox_* nor _GUICtrlComboBoxEx_* methods to select an item. The items appear ok when I manually click the dropdown say:

LOCAL DELIVERY

PICKUP

But when I use the _GUICtrlComboBox_GetListArray and cycle through it, what is returned is:

LOlp

PI[]

where [] is actually the box character.

I have tried to select an item by using say, "LOCAL DELIVERY" and "LOlp" but none work. Is there a way to select an item by its index?

Thanks in advance,

Vlad

Edited by vvb

I'll be AutoIting my entire system soon.

Share this post


Link to post
Share on other sites



Hi All,

Don't worry about it. Just realised that the UDF ones actually require the index and not the string.


I'll be AutoIting my entire system soon.

Share this post


Link to post
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
Sign in to follow this  
Followers 0