Page 1 of 1

EasyProgress

PostPosted: 22 Jan 2018 00:25
by Omega8
Is there an EasyProgress also for the MobileSuite?

Re: EasyProgress

PostPosted: 22 Jan 2018 10:33
by Alexander Bulei
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.

Re: EasyProgress

PostPosted: 22 Jan 2018 12:10
by Omega8
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

Re: EasyProgress

PostPosted: 22 Jan 2018 12:39
by Jorge Sousa
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)

Re: EasyProgress

PostPosted: 22 Jan 2018 15:19
by Omega8
For some reason can't get it to work. Could you please post a demo of this. Whenever you have time. Thanks.

Re: EasyProgress

PostPosted: 25 Jan 2018 10:39
by Alexander Bulei
Hi Omega8,

Attached simple demo.

Best Regards.

Re: EasyProgress

PostPosted: 25 Jan 2018 10:56
by Omega8
I'm getting the below error while extracting. Thx

Re: EasyProgress

PostPosted: 25 Jan 2018 11:34
by Alexander Bulei
Hi Omega8,

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

Anyway, attached zip format.

Re: EasyProgress

PostPosted: 25 Jan 2018 12:08
by Omega8
Thank you