Difference between revisions of "API Panel.LinkBar.SetVisible"
From Flowcode Help
Jump to navigationJump to search (XML import of LinkBar API) |
|||
Line 25: | Line 25: | ||
==Detailed description== | ==Detailed description== | ||
− | + | This sets whether the bar is visible or not. If the bar is invisible, its position can still be retrieved for use in kinematics, etc. | |
+ | |||
+ | |||
+ | If the bar should only be shown during simulation or design modes, the user may set the visibility based on the [[Event Simulation.Start|Simulation.Start]] and [[Event Simulation.Stop|Simulation.Stop]] events. | ||
+ | |||
Revision as of 12:04, 1 July 2013
<sidebar>API contents</sidebar>
Sets whether the link is displayed or not
Contents
Parameters
HANDLE LinkBar
- The handle to the bar to set the state of
BOOL Visible
- True if the link is to be shown, false if not
Return value
This call does not return a value
Detailed description
This sets whether the bar is visible or not. If the bar is invisible, its position can still be retrieved for use in kinematics, etc.
If the bar should only be shown during simulation or design modes, the user may set the visibility based on the Simulation.Start and Simulation.Stop events.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.LinkBar.SetVisible(linkbar, true)
No additional examples