API Panel.LinkBar.SetStartPos

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png SetStartPos
Sets the position for the start 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 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)