CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

SimpleDialog show

General discussion

by francesco » 24 Apr 2014 17:16

Hello.
I got stuck in using JQMSImpleDialog.

From 3rdPartyPlugin demo i saw the use of it but it is not 100% clear to me how to replaace

Code: Select all
WebApplication.ShowMessage(mystring)


with SimpleDialog counterpart.

Could you please post a simple demo?
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Alexander Bulei » 28 Apr 2014 10:24

Hi francesco,

I will provide your simple demo asap.

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 francesco » 28 Apr 2014 10:41

THank you, add it also to the demos provided with cgdevtools please.
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by francesco » 09 May 2014 09:59

Hello, did you make this sample?
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Alexander Bulei » 09 May 2014 15:22

Hi francesco,

Sorry for delay, but I recommend you to use the standard dialog of jquery mobile .
Basically, simpledialog is deprecated, because is a jquery plugin and was made for previous version of jquery mobile,and now we can't remove it.

Attached simple demo of dialog.

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 francesco » 13 May 2014 10:33

I run your sample, but i have:

Exception message : Control 'IWForm1' has no parent window
Exception class : EInvalidOperation

I have XE2 and i read that there is a bug on frames, i don't know if this is the reason.

could you please update it to fix it?
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Jorge Sousa » 13 May 2014 11:20

Hello

there is nothing to fix, except that maybe you're running IW12 and this demo was made for IW14?

If yes delete and recreate the ServerController.OnNewSession, with the same code in the event handler,

ASession.Data := TIWUserSession.Create(nil);
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by francesco » 13 May 2014 11:58

I am running IW14 on XE2. so?
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Jorge Sousa » 13 May 2014 12:06

So, unless you changed the source code, or maybe you didn't add the wwwroot (Delphi IDE menu CgDevtools + Selected Project + Sychronize wwwroot), everything should be running fine. I can put the binary somewhere, so that you can confirm.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Alexander Bulei » 13 May 2014 12:06

Hi francesco,

What is your version of IW?

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

Next

Return to General

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.