EnableProgressEvent property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax BOOL EnableProgressEvent

Overview:  Refer to Controlling Events.

Remarks

(Persistent property, available at design time) Specifies whether LEADTOOLS generates a ProgressStatus event, to indicate the completion percentage of the current LEADTOOLS functionality.

If this property is set to TRUE, you can use the ProgressStatus 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 progress status events.

FALSE

If this property is set to FALSE outside the load process, ProgressStatus 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