TiPlotObject.Enabled

TiPlotObject

Used to enable or disable the UI of a Plot Object.

procedure Enabled : Boolean;

Description

Use the Enabled property to enable or disable the UI (User Interface) of a Plot Object.

When this property is set to TRUE, then the keyboard and mouse events for this object are enabled.

When this property is set to FALSE, then the keyboard and mouse events for this object are disabled.

Note: when a Plot Object is disabled, the Plot Object will not "look disabled" like standard textboxes or labels. Only the UI will be disabled.

Example

Delphi

iComponent.XAxis[0].Enabled := False;

iComponent.YAxis[0].Enabled := False;

iComponent.Legend[0].Enabled := False;

C++ Builder

iComponent->XAxis[0]->Enabled = FALSE;

iComponent->YAxis[0]->Enabled = FALSE;

iComponent->Legend[0]->Enabled = FALSE;

Contents | Index | Previous | Next