Difference between revisions of "Component: Comms Icon (Misc)"
From Flowcode Help
Jump to navigationJump to search(4 intermediate revisions by the same user not shown) | |||
Line 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 57: | Line 67: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===GetHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetHandle''' |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Gets the handle of the source object we are pointing to. Returns 0 for not valid. |
|- | |- | ||
|- | |- | ||
− | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE | |
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
+ | ===SetHandle=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
− | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetHandle''' |
+ | |- | ||
+ | | colspan="2" | Allows legacy code to lookup the old handle from the LinkTolist | ||
+ | |- | ||
|- | |- | ||
− | | | + | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE |
+ | | width="90%" | Handle | ||
|- | |- | ||
+ | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 10:26, 20 October 2023
Author | Matrix TSL |
Version | 1.1 |
Category | Misc |
Contents
Comms Icon component
A none release and none dynamic component used in the comms indicator component to determine the comms type, if editing then remember to re-export the comms indicator.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LinkIcon.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LinkIcon.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetHandle
![]() |
GetHandle |
Gets the handle of the source object we are pointing to. Returns 0 for not valid. | |
![]() |
Return |
SetHandle
![]() |
SetHandle |
Allows legacy code to lookup the old handle from the LinkTolist | |
![]() |
Handle |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
CommsType |
![]() |
Source Icon |
Source of linkage. For example an I2C GLCD would be the source of a GLCD icon but not the source of a I2C icon | |
![]() |
LinkTo |