CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to show a design time dialog at runtime

by markus_ja » 10 Jan 2016 11:05

Hello,

how to I show a jqdialog, which is designed at design time, at runtime on the current page? I created a IWCGJQFrame with a jqdialog in it, but when I create that frame at runtime on the current page, nothing is shown.
Here is my code snipped:

procedure TIWForm1.btnDialogJQButtonOptionsClick(Sender: TObject; AParams: TStringList);
var
fr: TIWCGJQFrame5;
begin
fr := TIWCGJQFrame5.Create(self);
fr.Parent := Self;
fr.Show;
end;
markus_ja
 
Posts: 15
Joined: 10 Jan 2016 10:58

by assapan » 11 Jan 2016 08:26

Hi Markus,

Have a look to CGDemo Components.pas source , ShowFrame and CreateNewFrame procedures
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by markus_ja » 11 Jan 2016 10:58

Thanks for the quick reply, but where to I find the CGDemo Components.pas source file?
On my computer I have a folder IWCGJQComps, but cannot find Components.pas.
markus_ja
 
Posts: 15
Joined: 10 Jan 2016 10:58

by assapan » 11 Jan 2016 11:06

It is in the Demo folder , user documents\cgdevtools\IWCGJQComps\JQueryDemoV3
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France


Return to JQDialog

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.