Difference between revisions of "Component: Dial control (Misc)"

From Flowcode Help
Jump to navigationJump to search
Line 77: Line 77:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
  
Line 83: Line 85:
 
==Macro reference==
 
==Macro reference==
  
 +
===GetPos===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 96: Line 99:
  
  
 +
===SetTarget===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 119: Line 123:
  
  
 +
===SetAngles===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 142: Line 147:
  
  
 +
===SetPos===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 165: Line 171:
  
  
 +
===SetMarks===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 193: Line 200:
  
  
 +
===SetRange===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 216: Line 224:
  
  
 +
===SetLabel===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-

Revision as of 11:53, 3 February 2023

Author
Version 1.1
Category Misc


Dial control component

Dial output control

Component Source Code

Please click here to download the component source project: FC_Comp_Source_dial.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_dial.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples




Macro reference

GetPos

Fc9-comp-macro.png GetPos
Gets the position of the pointer 
Fc9-f32-icon.png - FLOAT Return


SetTarget

Fc9-comp-macro.png SetTarget
Sets the target of change messages Send 0 as the target ID to disable  
Fc9-h32-icon.png - HANDLE Target
The target component to recieve the message 
Fc9-u32-icon.png - ULONG MessageId
The identifier of the message to send to 
Fc9-void-icon.png - VOID Return


SetAngles

Fc9-comp-macro.png SetAngles
Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
Fc9-s16-icon.png - INT Start
 
Fc9-s16-icon.png - INT End
 
Fc9-void-icon.png - VOID Return


SetPos

Fc9-comp-macro.png SetPos
Sets the position of the dial, bounded to the pre-set range 
Fc9-f32-icon.png - FLOAT Position
The position of the dial in the Users specified range 
Fc9-bool-icon.png - BOOL Notify
Set to true to notify owner Target of a change 
Fc9-void-icon.png - VOID Return


SetMarks

Fc9-comp-macro.png SetMarks
Decides on the presentation of the dial 
Fc9-s16-icon.png - INT Marks
Number of marks on the dial 
Fc9-s16-icon.png - INT Subs
Number of marks before a 'main' mark - can be zero 
Fc9-bool-icon.png - BOOL ShowNumbers
True to show numbers on the dial, else false 
Fc9-void-icon.png - VOID Return


SetRange

Fc9-comp-macro.png SetRange
Sets the min-max range to draw on the dial Used for setting the needle 
Fc9-s16-icon.png - INT Start
 
Fc9-s16-icon.png - INT End
 
Fc9-void-icon.png - VOID Return


SetLabel

Fc9-comp-macro.png SetLabel
Sets the label to draw in the center of the dial 
Fc9-string-icon.png - STRING Hi
 
Fc9-string-icon.png - STRING Lo
Label to draw at the bottom 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties