Difference between revisions of "Switch Icon Properties"

From Flowcode Help
Jump to navigationJump to search
Line 2: Line 2:
 
[[File:Btn_Switch.gif]] → [[File:Gen_Switch_Icon_01.png]] → [[File:Gen_Switch_Properties_01.png]]
 
[[File:Btn_Switch.gif]] → [[File:Gen_Switch_Icon_01.png]] → [[File:Gen_Switch_Properties_01.png]]
  
Switch icons are similar to decision icons only instead of two possible outcome branches (Yes, No) there are up to eleven.  
+
 
 +
Switch icons are similar to [[Decision Icon Properties|decision icons]] only instead of two possible outcome branches (Yes, No) there are up to eleven.  
 +
 
 
They are particularly useful for tailoring your program to react in different ways based on an input variable.
 
They are particularly useful for tailoring your program to react in different ways based on an input variable.
  
Line 18: Line 20:
 
'''Variables Arrow'''
 
'''Variables Arrow'''
  
Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.
+
Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to [[Creating Variables|create a new one]].
  
  

Revision as of 14:43, 18 June 2013

<sidebar>Sidebar: Icon Properties</sidebar> Btn Switch.gifFile:Gen Switch Icon 01.pngFile:Gen Switch Properties 01.png


Switch icons are similar to decision icons only instead of two possible outcome branches (Yes, No) there are up to eleven.

They are particularly useful for tailoring your program to react in different ways based on an input variable.


Display Name

The name of the icon that appears on the flowchart.


Switch

This is the input parameter variable that is used to determine the branch of the switch that will be executed at run time.


Variables Arrow

Clicking on the down arrow brings up the variables dialog window allowing you to select an existing variable or to create a new one.


Case options

Up to ten branches can be defined for the switch icon. The switch branches are enabled by ticking the tick boxes next to the values. The value in the case box is the value that is used to trigger that particular branch of the switch icon. If none of the values match the input parameter variable then the default branch of the switch case is used.