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="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(One intermediate revision by the same user not shown)
Line 95: Line 95:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetPos'''
| width="90%" class="mtx-class-macrohead" | '''GetPos'''
|-
|-
| colspan="2" | Gets the position of the pointer 
| colspan="2" | Gets the position of the pointer 
Line 109: Line 109:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles'''
| width="90%" class="mtx-class-macrohead" | '''SetAngles'''
|-
|-
| colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
| colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
Line 133: Line 133:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLabel'''
| width="90%" class="mtx-class-macrohead" | '''SetLabel'''
|-
|-
| colspan="2" | Sets the label to draw in the center of the dial 
| colspan="2" | Sets the label to draw in the center of the dial 
Line 157: Line 157:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMarks'''
| width="90%" class="mtx-class-macrohead" | '''SetMarks'''
|-
|-
| colspan="2" | Decides on the presentation of the dial 
| colspan="2" | Decides on the presentation of the dial 
Line 186: Line 186:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetPos'''
| width="90%" class="mtx-class-macrohead" | '''SetPos'''
|-
|-
| colspan="2" | Sets the position of the dial, bounded to the pre-set range 
| colspan="2" | Sets the position of the dial, bounded to the pre-set range 
Line 210: Line 210:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange'''
| width="90%" class="mtx-class-macrohead" | '''SetRange'''
|-
|-
| colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle 
| colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle 
Line 234: Line 234:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTarget'''
| width="90%" class="mtx-class-macrohead" | '''SetTarget'''
|-
|-
| colspan="2" | Sets the target of change messages Send 0 as the target ID to disable  
| colspan="2" | Sets the target of change messages Send 0 as the target ID to disable  
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%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|}
|}

Latest revision as of 14:23, 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