API Panel.LinkBar.SetStartPos

From Flowcode Help
Jump to navigationJump to search

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

Class hierarchy

Panel

LinkBar
SetStartPos

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 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)

No additional examples