Jump to content

API Panel.LinkBar.SetEndPos: Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(2 intermediate revisions by the same user not shown)
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" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetEndPos'''
| width="90%" class="mtx-class-macrohead" | '''SetEndPos'''
|-
|-
| colspan="2" | Sets the position for the end point of the bar 
| colspan="2" | Sets the position for the end point of the bar 

Latest revision as of 14:11, 13 July 2026

SetEndPos
Sets the position for the end 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 endposition of the link. A link is a bar that connects the start position to this end point.


If Track is true, the end 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.SetEndPos(linkbar, pos, false)