OnEndUpdate event
|
dcFolderListView component.
|
property OnEndUpdate: TNotifyEvent;
|
The OnEndUpdate event occurs when the dcFolderListView has finished process of scanning for files witnin the current folder and has sucessfully refreshed itself.
|
|
If the directory contains too many files, the updating process can take rather long time. You can hook the OnBeginUpdate and OnEndUpdate events to amuse users by something while the FolderListView scans directory for files.
|
{ Animate1.CommonAVI := aviFindFolder }
|
procedure TForm1.dcFolderListView1BeginUpdate(Sender: TObject);
|
begin
|
Animate1.Active := True;
|
Animate1.Visible := True;
|
end;
|
|
procedure TForm1.dcFolderListView1EndUpdate(Sender: TObject);
|
begin
|
Animate1.Visible := False;
|
Animate1.Active := False;
|
end;
|
OnBeginUpdate event and Refresh method.
|