CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

EasyProgress

General discussion

by Omega8 » 22 Jan 2018 00:25

Is there an EasyProgress also for the MobileSuite?
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 22 Jan 2018 10:33

Hi Omega8,

Is there an EasyProgress also for the MobileSuite?


No, but you can use the default loading animation of jquery mobile framework, by using the IWCGJQGlobalConfig and timer components.

To show the default loading animation, use the follow code:

Code: Select all
IWCGJQGlobalConfig1.GlobalConfigLoadingOptions.ShowLoading;


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 22 Jan 2018 12:10

I have the following construct
try
IWCGJQGlobalConfig1.GlobalConfigLoadingOptions.ShowLoading;
DoSomeThing;
finally
IWCGJQGlobalConfig1,GlobalConfigLoadingOptions.CloseLoading;
end;

I have IWCGJQGlobalConfig1 placed in the main mobile form and pass it to my AjaxFrames. Nothing shows when executings. COuld you please show me how to use this. Thanks
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Jorge Sousa » 22 Jan 2018 12:39

Hello

Your code will not work because this will instruct to send the javascript counterpart of

IWCGJQGlobalConfig1.GlobalConfigLoadingOptions.ShowLoading;
and
IWCGJQGlobalConfig1,GlobalConfigLoadingOptions.CloseLoading;

in the same event

you will have to use an IWTimer to call ShowLoading separately at the first time, then at the 2nd time execute all the rest (including CloseLoading)
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Omega8 » 22 Jan 2018 15:19

For some reason can't get it to work. Could you please post a demo of this. Whenever you have time. Thanks.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 25 Jan 2018 10:39

Hi Omega8,

Attached simple demo.

Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 25 Jan 2018 10:56

I'm getting the below error while extracting. Thx
You do not have the required permissions to view the files attached to this post.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 25 Jan 2018 11:34

Hi Omega8,

Archive doesnt have any issues...you should check your pc...

Anyway, attached zip format.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 25 Jan 2018 12:08

Thank you
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42


Return to General

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.