Getting Started with TMS FNC Waiting Indicator
Use TTMSFNCWaitingIndicator to show that work is still running when the duration is unknown. It can animate by itself or draw an overlay over its parent while active.
Show and Hide the Indicator
- Drop a
TTMSFNCWaitingIndicatoron the form or on the panel that contains the busy region. - Configure
AnimationSpeed,Appearance, andOverlayParent. - Set
ActivetoTruebefore the work starts and back toFalsewhen it finishes.
procedure TForm1.StartLoading;
begin
TMSFNCWaitingIndicator1.OverlayParent := True;
TMSFNCWaitingIndicator1.AnimationSpeed := 1.0;
TMSFNCWaitingIndicator1.Active := True;
end;
procedure TForm1.FinishLoading;
begin
TMSFNCWaitingIndicator1.Active := False;
end;