Difference between revisions of "API Panel.LinkBar.SetStartPos"
From Flowcode Help
Jump to navigationJump to searchLine 38: | Line 38: | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.LinkBar.SetStartPos(linkbar, pos, false)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.LinkBar.SetStartPos(linkbar, pos, false)</pre> | ||
− | |||
− |
Latest revision as of 11:54, 16 January 2023
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)