API Panel.LinkBar.SetVisible

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png SetVisible
Sets whether the link is displayed or not 
Fc9-h32-icon.png - HANDLE LinkBar
The handle to the bar to set the state of 
Fc9-bool-icon.png - BOOL Visible
True if the link is to be shown, false if not 
Fc9-void-icon.png - NONE Return


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 during the Simulation.Start and Simulation.Stop events.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.LinkBar.SetVisible(linkbar, true)