API Panel.LinkBar.EnableAuto

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Sets whether Flowcode should automatically draw links for component object property types

Class hierarchy

Panel

LinkBar
EnableAuto

Parameters

HANDLE Component

The component to enable or disable links for
The default value for this parameter is: this

BOOL Enable

True to draw default links from this component, else false


Return value

This call does not return a value


Detailed description

When components create properties linking components Flowcode will, by default, draw links from the source tot he destination. These are simple line-drawn links from the center of the positions.


If greater control or a different style is required, the default behavior may be switched off in the source component (the component which owns the properties) and Flowcodes default behavior can then be replaced by component-managed link bars.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.LinkBar.EnableAuto(component, true)

No additional examples