CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to Load a New TIWCGFrame from an existing TIWCGFrame

by bryl » 14 Apr 2017 00:57

Hi all,
I am using the JQueryDemoV3_IW14 demo as a guide and have a question.
Like the demo i have a mainform with a Tcgjqregion that I can load my frames into.

My question is how can I load a different frame into the region from an event from an existing loaded frame?

I tried to make the Procedure TfrmMain.ShowFrame(AFrameClass: TIWCGFrameClass; ACaption: string; AParams: TStringList = nil); public and call it from within the frame like this

TfrmMain.ShowFrame(TfPersonServiceRecord,'',nil); but i get the error

[dcc32 Error] faPersonnel.pas(70): E2076 This form of method call only allowed for class methods or constructor

any help would be greatly appreciated.
bryl
 
Posts: 15
Joined: 23 Mar 2017 17:23

Return to General

Who is online

Users browsing this forum: No registered users and 14 guests

Contact Us.