Difference between revisions of "Component: Component Label (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 1.2 |- | width="20%" style="color:gra...") |
|||
Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 235: | Line 239: | ||
|- | |- | ||
| colspan="2" | Automatically update the label whenever the target's name or labelled property changes. Use this sparingly, as it requires the component to regularly poll the component for changes!! | | colspan="2" | Automatically update the label whenever the target's name or labelled property changes. Use this sparingly, as it requires the component to regularly poll the component for changes!! | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
Line 250: | Line 258: | ||
|- | |- | ||
| colspan="2" | Whether labels should always be draw on top of other objects. | | colspan="2" | Whether labels should always be draw on top of other objects. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Size | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
Line 260: | Line 272: | ||
|- | |- | ||
| colspan="2" | Whether labels get bigger and smaller when the panel is zoomed in and out. | | colspan="2" | Whether labels get bigger and smaller when the panel is zoomed in and out. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Offset | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Line 265: | Line 281: | ||
|- | |- | ||
| colspan="2" | Attempt to automatically move the label to the side of the object. Choose a positive or negative offset in any of the three axes. When 'off', the manual offsett values can be edited below. | | colspan="2" | Attempt to automatically move the label to the side of the object. Choose a positive or negative offset in any of the three axes. When 'off', the manual offsett values can be edited below. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 17:25, 9 November 2022
Author | Matrix Ltd. |
Version | 1.2 |
Category | Misc |
Contents
Component Label component
Add a label to a component by including this component as a sub-component. The label will always face the viewer and move with its parent object. Text for the label is automatically read from the host component's name or any chosen property.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ShowProperty |
Sets the label to show a named property of the target object. | |
![]() |
Property |
Name of the property to show. | |
![]() |
Return |
![]() |
Hide |
Hides the label. | |
![]() |
Return |
![]() |
SetColor |
Sets the color of the label using a single ULONG value - such as returned by panel GetColor functions. | |
![]() |
Color |
Color to set the labels to. | |
![]() |
Return |
![]() |
SetColorRGB |
Set the label color using separate red, green and blue color channels. | |
![]() |
Red |
Color parameter | |
![]() |
Green |
Color parameter | |
![]() |
Blue |
Color parameter | |
![]() |
Return |
![]() |
Update |
Refresh the label after a change. | |
![]() |
Return |
![]() |
ShowName |
Sets the label to show the target object's name | |
![]() |
Return |