Jump to content

API Panel.LinkBar.SetStartPos: Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
Line 1: Line 1:
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| 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]]

Revision as of 14:07, 13 July 2026

SetStartPos
Sets the position for the start point of the bar 
- HANDLE LinkBar
The handle to the bar to adjust the position of 
- HANDLE Pos
The position to start the bar at 
- BOOL Track
Automatically update the bar to match changes in the position 
- NONE Return


Detailed description

This sets the start position of the link. A link is a bar that connects this start position to an end point.


If Track is true, the start of the link will always follow the current position. Note, that while the position will update, only visible objects will cause the screen to refresh, so for objects that are not visible (hidden components or position objects) call Update on a position change or intermittently to ensure the bar redraws correctly.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.LinkBar.SetStartPos(linkbar, pos, false)