Page 1 of 1

How to show a design time dialog at runtime

PostPosted: 10 Jan 2016 11:05
by markus_ja
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;

Re: How to show a design time dialog at runtime

PostPosted: 11 Jan 2016 08:26
by assapan
Hi Markus,

Have a look to CGDemo Components.pas source , ShowFrame and CreateNewFrame procedures

Re: How to show a design time dialog at runtime

PostPosted: 11 Jan 2016 10:58
by markus_ja
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.

Re: How to show a design time dialog at runtime

PostPosted: 11 Jan 2016 11:06
by assapan
It is in the Demo folder , user documents\cgdevtools\IWCGJQComps\JQueryDemoV3