EnableProgressEvent property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool EnableProgressEvent

Delphi Syntax

EnableProgressEvent:Boolean

Overview

Refer to Controlling Events.

Remarks

(Persistent property, available at design time) Specifies whether LEADTOOLS generates an OnStatus event, to indicate the completion percentage of the current LEADTOOLS function.

If this property is set to TRUE, you can use the OnStatus event to update a status bar or to detect a user interrupt.

This property can also be used to cancel a load process by setting it to FALSE during a load process.

Setting

Description

TRUE

Generate status events.

FALSE

If this property is set to FALSE outside the load process, OnStatus events will not be generated. If this property is set to FALSE during a load process, the load process is canceled.

See Also

Topics:

Working with the Control: General Behavior