|
@@ -708,7 +708,7 @@ begin
|
|
FileList.Text := aFileName;
|
|
FileList.Text := aFileName;
|
|
end;
|
|
end;
|
|
|
|
|
|
- Screen.Cursor:= crHourGlass;
|
|
|
|
|
|
+ Screen.BeginWaitCursor;
|
|
try
|
|
try
|
|
if FPS_ISDIR(dwFileAttributes) then
|
|
if FPS_ISDIR(dwFileAttributes) then
|
|
aName:= IncludeTrailingPathDelimiter(aFileName)
|
|
aName:= IncludeTrailingPathDelimiter(aFileName)
|
|
@@ -740,7 +740,7 @@ begin
|
|
|
|
|
|
Status.Panels[sbpFileName].Text:= aFileName;
|
|
Status.Panels[sbpFileName].Text:= aFileName;
|
|
finally
|
|
finally
|
|
- Screen.Cursor:= crDefault;
|
|
|
|
|
|
+ Screen.EndWaitCursor;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -1795,14 +1795,14 @@ begin
|
|
end;
|
|
end;
|
|
if (NewSize <> ViewerControl.FileSize) then
|
|
if (NewSize <> ViewerControl.FileSize) then
|
|
begin
|
|
begin
|
|
- Screen.Cursor:= crHourGlass;
|
|
|
|
|
|
+ Screen.BeginWaitCursor;
|
|
try
|
|
try
|
|
ViewerControl.FileName := ViewerControl.FileName;
|
|
ViewerControl.FileName := ViewerControl.FileName;
|
|
ActivatePanel(pnlText);
|
|
ActivatePanel(pnlText);
|
|
FLastSearchPos := -1;
|
|
FLastSearchPos := -1;
|
|
ViewerControl.GoEnd;
|
|
ViewerControl.GoEnd;
|
|
finally
|
|
finally
|
|
- Screen.Cursor:= crDefault;
|
|
|
|
|
|
+ Screen.EndWaitCursor;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|