Jump to content

Combo Box Values


Guest Ghetek
 Share

Recommended Posts

Guest Ghetek

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")

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
 Share

  • Recently Browsing   0 members

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