( x )

alphagetvaluereleased$()


Return the released, (the one the user just interacted with, and have "deselected"), gadget's value

Use this to read values from a released textbox, dropdown etc..
 

Syntax


value$=alphagetvaluereleased$( [return_type] , [guihandle] )
 

Parameters

Variable Description Default value
return_type The value type returned, either 0 or 1, will return what the first table shows if return_type is 0 otherwise it will return what the second shows:
 

Gadget type

Returns

Label None
Button None
Text box The text inside the textbox
Integer box The integer value
Float box The float value
Text area  <void>
Drop down The selected option. where zero is the first option
Cycle The selected option. where zero is the first option
H-Slider Horizontal position of slider knot in the range 0.0...1.0 inclusive.
V-Slider Vertical position of slider knot in the range 0.0...1.0 inclusive.
H/V-Slider Horizontal position of slider knot in the range 0.0...1.0 inclusive.
Checkbox Unchecked = 0 , Checked = 1
Option list The selected option. where zero is the first option

 

Gadget type

Returns

Label None
Button None
Text box None
Integer box None
Float box None
Text area  <void>
Drop down All the options separated by a "|"
Cycle All the options separated by a "|"
H-Slider None
V-Slider None
H/V-Slider Vertical position of slider knot in the range 0.0...1.0 inclusive.
Checkbox None
Option list All the options separated by a "|"
0
guihandle Handle to gui you wish to check for an active gadget value; if omitted then all guis are checked for an active gadget. all guis

Returns

The released gadget's value as a string$

Back