Sign in to follow this  
Followers 0
Mellowz

Working with Dropdowns

5 posts in this topic

In Visual Basic there is a command called ListIndex, which returns the number of the selected dropdown item. Is there a command similiar in AutoIt?

Share this post


Link to post
Share on other sites



If this is for automation, then look at ControlCommand in the help file.

:shocked:

Share this post


Link to post
Share on other sites

In Visual Basic there is a command called ListIndex, which returns the number of the selected dropdown item. Is there a command similiar in AutoIt?

look at _GUICtrlListSelectedIndex()


Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()

Share this post


Link to post
Share on other sites

look at _GUICtrlListSelectedIndex()

Hi

try use this command

ControlCommand ( "title", "text", controlID, "command" [, "option"] )

get the control id of your button and put action to perform on command ex: "ShowDropDown"

Regards

Suman

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