From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_getVariables</code></span> Category:Action_Library ;...")
 
(Example)
Line 30: Line 30:
  
 
====Example====
 
====Example====
<code>@variable/userFirstName,@variable/userLastName</code> - [[source]]<br>
+
<code>@variable/userFirstName,@variable/userLastName</code> - source<br>
<code>@+id/user_firstName,@+id/user_lastName</code> - [[target]]<br><br>
+
<code>@+id/user_firstName,@+id/user_lastName</code> - target<br><br>
 
<code>[gn:act_getVariables]|[@variable/userFirstName,@variable/userLastName;@+id/user_firstName,@+id/user_lastName]</code>
 
<code>[gn:act_getVariables]|[@variable/userFirstName,@variable/userLastName;@+id/user_firstName,@+id/user_lastName]</code>
 
<hr>
 
<hr>

Revision as of 11:57, 15 March 2017

gn:act_getVariables

Description
Action used to copy variable values in corresponding targets
Action returns
void

Action signatures

Copy variable values to targets

[gn:act_getVariables]|[source{n};target{n}]
Parameter Description
source{n} variable from where the value will be copied
target{n} widget where the variable value will be stored

Example

@variable/userFirstName,@variable/userLastName - source
@+id/user_firstName,@+id/user_lastName - target

[gn:act_getVariables]|[@variable/userFirstName,@variable/userLastName;@+id/user_firstName,@+id/user_lastName]