Jump to content

Component: Dial control (Misc): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 258: Line 258:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
|-
|-
|}
|}

Revision as of 14:20, 13 July 2026

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

GetPos
Gets the position of the pointer 
- FLOAT Return


SetAngles

SetAngles
Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
- INT Start
 
- INT End
 
- VOID Return


SetLabel

SetLabel
Sets the label to draw in the center of the dial 
- STRING Hi
 
- STRING Lo
Label to draw at the bottom 
- VOID Return


SetMarks

SetMarks
Decides on the presentation of the dial 
- INT Marks
Number of marks on the dial 
- INT Subs
Number of marks before a 'main' mark - can be zero 
- BOOL ShowNumbers
True to show numbers on the dial, else false 
- VOID Return


SetPos

SetPos
Sets the position of the dial, bounded to the pre-set range 
- FLOAT Position
The position of the dial in the Users specified range 
- BOOL Notify
Set to true to notify owner Target of a change 
- VOID Return


SetRange

SetRange
Sets the min-max range to draw on the dial Used for setting the needle 
- INT Start
 
- INT End
 
- VOID Return


SetTarget

SetTarget
Sets the target of change messages Send 0 as the target ID to disable  
- HANDLE Target
The target component to recieve the message 
- ULONG MessageId
The identifier of the message to send to 
- VOID Return


Property reference

Properties