IEaxObject.Enabled

Syntax

Enabled: Boolean;

Description

The Enabled property determines whether the object is to be plotted. This property is set to True if the object is to be plotted, and to False if the object is not to be plotted.

NOTE. This property is used to disable plotting report chart or map. This enables you to reduce memory usage.

Example

Executing this example requires a form with a button with the identifier Button1 positioned on this form, the UiErAnalyzer component with the identifier UiErAnalyzer1 which is used as a data source for the TabSheetBox and ChartBox components. An express report is to be loaded to UiErAnalyzer1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

erAn: IEaxAnalyzer;

eaxObj: IEaxChart;

Begin

erAn := UiErAnalyzer1.ErAnalyzer;

eaxObj := erAn.Chart;

eaxObj.Enabled := False;

End Sub Button1OnClick;

After executing this example chart plotting is disabled.

See also:

IEaxObject