Jump to content
Sign in to follow this  
Mellowz

Working with Dropdowns

Recommended Posts

Mellowz

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
MHz

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

:shocked:

Share this post


Link to post
Share on other sites
WeMartiansAreFriendly

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
sumanroy

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  

×