1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Native Platform Progress Dialogs For Delphi XE5 Firemonkey On Android And IOS

Discussion in 'Delphi Android And IOS' started by AdminDF, Feb 15, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    [​IMG]

    On IOS you’re actually using a native UIView for your progress and activity dialogs. The names of the two components are TfgProgressDialog and TfgActivityDialog. I like this solution a lot because it is cross platform which means it handles both Android and IOS natively with Delphi XE5 Firemonkey. The components include a full demo on how to use them and I’ve included some of that code below:

    Code:
    procedure TForm6.Button1Click(Sender: TObject);
    begin
    fgProgressDialog.Show;
    try
    fgProgressDialog.Message := ‘Preparing downloading content’;
    fgProgressDialog.Kind := TfgProgressDialogKind.Undeterminated;
    // do work
    fgProgressDialog.Kind := TfgProgressDialogKind.Determinated;
    // do work
    fgProgressDialog.Message := ‘Union units…’;
    fgProgressDialog.Progress := 10;
    // do work
    fgProgressDialog.Message := ‘Sorting units in package…’;
    fgProgressDialog.Progress := 20;
    // do work
    fgProgressDialog.Message := ‘Removed comments…’;
    fgProgressDialog.Progress := 60;
    // do work
    fgProgressDialog.Message := ‘Finishig’;
    fgProgressDialog.Progress := 90;
    // do work
    fgProgressDialog.Progress := 100;
    // do work
    finally
    fgProgressDialog.Hide;
    end;
    end;
    See Video

    Component Download Silver Forum
     
    Mahdi and jerrivaldo like this.

Share This Page