JVCL Help:TJvProgressDialog.OnProgress
JVCL Help: TJvProgressDialog.OnProgress Event
Search in JVCL Help
Search in all projectsSummary
Occurs periodically while the dialog is shown modally.
Pascal
TJvProgressDialogEvent = procedure (Sender: TObject; var AContinue: Boolean) ofobject;
propertyOnProgress: TJvProgressDialogEvent;
Parameters
Parameters | Description |
AContinue | Set to false to close the dialog, set to true to keep it open. |
Sender | The object that triggered the event. |
Description
Write a handler for the OnProgress event to update the dialog when it was displayed using the ShowModal method. To update the components on the dialog, you can assign new values to the Min, Max, Position, Caption, Image and Text properties within the event handler.
The time between calls to the OnProgress event is controlled by the Interval property. OnProgress is not triggered if the dialog was displayed using the Show method.
See Also
TJvProgressDialog.Caption, TJvProgressDialog.Image, TJvProgressDialog.Interval, TJvProgressDialog.Max, TJvProgressDialog.Min, TJvProgressDialog.Position, TJvProgressDialog.ShowModal, TJvProgressDialog.Text
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page