API Panel.LinkBar.SetVisible

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Sets whether the link is displayed or not

Class hierarchy

Panel

LinkBar
SetVisible

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