开发者

Load a TPackage from the Grid

I have two Library Packages. Both are defined as process nodes in my main project. How do I use them? That is, how can I load my process node packages and create the window开发者_如何学Gos on the Grid?


Just use CreateFromProcessNode constrcutor like this:

var p: TPackage;
begin
  p := TPackage.CreateFromProcessNode('YourLibName');

TPackage handles automatically the Grid traffic, and you can use your forms directly as if they were included in your project. For example:

  p.CreateForm('FormName').Show;

BTW: A) TPackage is documented in the Quick Help and B) You would get a faster answer if you post your question in the Power++ Question forum at gridplusplus.com.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜