API Panel.LinkBar.SetEndPos

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png SetEndPos
Sets the position for the end point of the bar 
Fc9-h32-icon.png - HANDLE LinkBar
The handle to the bar to adjust the position of 
Fc9-h32-icon.png - HANDLE Pos
The position to start the bar at 
Fc9-bool-icon.png - BOOL Track
Automatically update the bar to match changes in the position 
Fc9-void-icon.png - 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)