Sign in to follow this  
Followers 0
Guest Ghetek

Combo Box Values

2 posts in this topic

How can i report the value of the combo box back in a variable?

GUISetControl("combo", "my combo", 5,5)

GUISetControlData(-1,"Employee|Default|Administrator")

Share this post


Link to post
Share on other sites



GUIRead

--------------------------------------------------------------------------------

Read state or data of a control.

GUIRead ( [controlref] )

Parameters

[controlref] control number as returned by GUISetControl (by default, the last click)

Return Value

Success: Returns depending the control (see below).

Failure: Returns 0 if no control found or if no dialog window was created by a GuiCreate and sets @error to 1.

Type Value

Checkbox, Radio state of the button. See State table

Combo, List the value selected

Input, Edit the text entered

Button the display text

Date the selected date

Progress current percentage

Tab the number of the tabitem selected


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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