Component: Scale Linear Template (Advanced Shapes): Difference between revisions
Appearance
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 165: | Line 165: | ||
| colspan="2" | Set the mode of the component... Display - the pointer object moves only when a value is set using the 'SetValue' macro. Control - the pointer can be moved using the mouse to set a new value, which can then be read using the 'GetValue' macro. | | colspan="2" | Set the mode of the component... Display - the pointer object moves only when a value is set using the 'SetValue' macro. Control - the pointer can be moved using the mouse to set a new value, which can then be read using the 'GetValue' macro. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Style | ||
|- | |- | ||
|- | |- | ||
| Line 194: | Line 194: | ||
| colspan="2" | Color for the text label. | | colspan="2" | Color for the text label. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Line | ||
|- | |- | ||
|- | |- | ||
| Line 223: | Line 223: | ||
| colspan="2" | Whether to show or hide the main scale line. | | colspan="2" | Whether to show or hide the main scale line. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Marks | ||
|- | |- | ||
|- | |- | ||
| Line 262: | Line 262: | ||
| colspan="2" | Whether to show or hide the divisions and sub-divisions. | | colspan="2" | Whether to show or hide the divisions and sub-divisions. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Numbers | ||
|- | |- | ||
|- | |- | ||
| Line 301: | Line 301: | ||
| colspan="2" | Whether to show or hide the scale numbers. | | colspan="2" | Whether to show or hide the scale numbers. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Label | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Advanced Shapes |
Scale Linear Template component
A base component for drawing scales on horizontal or vertical strips. Can be used to simplify the building of rulers, meters and slider controls. Mouse handling is built in for easy construction of interactive controls.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Scale_Linear.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Scale_Linear.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetValue
| GetValue | |
| Get the current value from the scale. Will be either the most recent value set by "SetValue", or, if set to "Control" mode, the latest mouse clicked value. | |
| Return | |
SetLabel
| SetLabel | |
| Set the text of the component's label. | |
| Text | |
| New text to set. | |
| Return | |
SetRange
SetValue