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== | ||
+ | |||
+ | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:14, 20 January 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 for the component source code: FC_Comp_Source_component_label.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
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 |