API Panel.LinkBar.SetEndPos

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Sets the position for the end point of the bar

Class hierarchy

Panel

LinkBar
SetEndPos

Parameters

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


Return value

This call does not return a value


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)

No additional examples