Jump to content

Component: Dial control (Misc)

From Flowcode Help
Revision as of 14:23, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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