Skip to content

StartStopLoadingIndicator

zhaoyipeng edited this page Nov 23, 2017 · 2 revisions

Start/Stop method of TFMXLoadingIndicator

Adds a TFMXLoadingIndicator on the Form.

add a button on form, set text property to "Start/Stop", name property to btnStartStop
double click the button, add event code:

procedure TForm1.btnStartStopClick(Sender: TObject);
begin
  if FMXLoadingIndicator1.Running then
    FMXLoadingIndicator1.Stop
  else
    FMXLoadingIndicator1.Start;
end;

press F9, run the application, click "Start/Stop" button

Start Stop FMXLoadingIndicator

Clone this wiki locally