Difference between revisions of "Component: Component Label (Misc)"
From Flowcode Help
Jump to navigationJump to searchLine 48: | Line 48: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 222: | Line 224: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Revision as of 12:22, 3 February 2023
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 Source Code
Please click here to download the component source project: FC_Comp_Source_temp/component_label.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/component_label.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Hide
![]() |
Hide |
Hides the label. | |
![]() |
Return |
SetColor
![]() |
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
![]() |
SetColorRGB |
Set the label color using separate red, green and blue color channels. | |
![]() |
Red |
Color parameter | |
![]() |
Green |
Color parameter | |
![]() |
Blue |
Color parameter | |
![]() |
Return |
SetPosition
SetTargets
ShowName
![]() |
ShowName |
Sets the label to show the target object's name | |
![]() |
Return |
ShowProperty
![]() |
ShowProperty |
Sets the label to show a named property of the target object. | |
![]() |
Property |
Name of the property to show. | |
![]() |
Return |
Update
![]() |
Update |
Refresh the label after a change. | |
![]() |
Return |