|Top Previous Next|
Occurs on long operations
TRVLongOperation = ( // defined in RVStyle unit
TRVProgressStage = // defined in RVStyle unit
(rvpstgStarting, rvpstgRunning, rvpstgEnding);
TRVProgressEvent = procedure (Sender: TCustomRichView;
Operation: TRVLongOperation; Stage: TRVProgressStage;
PercentDone: Byte) of object;
property OnProgress: TRVProgressEvent;
(introduced in v1.9, changed in v14)
First, it is called with parameter Stage=rvpstgStarting.
Next, it is called several times with parameter Stage=rvpstgRunning, with PercentDone in the range 0..100.
Finally, it is called with parameter Stage=rvpstgEnding.
This event occurs on the following operations:
▪reading/writing a plain ANSI or Unicode text;
Note: the event is called if the document/source file is large enough.
TRichView © trichview.com