从包装载框架 [英] Load Frames from packages

查看:241
本文介绍了从包装载框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的主应用程序中,我已经创建了三个按钮,我想要动态地调用帧(一次一个),在我的主应用程序中有三个框架分开的三个bpls



)当相应的按钮被点击(框架可以显示在任何控件,例如:TPanal)



我已经使用Dll做了这样的事情,但有一些在堆栈溢出社区建议我使用bpl(他们说很容易),
我以前的帖子

解决方案

这里有一篇关于从一个包(bpl文件): http://edn.embarcadero.com/article/27178
这个框架应该是一样的。



也许最重要的是了解一个bpl和一个简单的dll之间的区别: http://delphi.about.com/od/objectpascalide/a/bpl_vs_dll.htm



上帝保佑


I have three frames inside separate three bpls,

in my main application i have created three buttons and , i want to call the frames dynamically(one at a time )when the respective button is clicked (the frame can be shown in any control eg : TPanal)

i have already done such a thing using Dlls but some in the Stack overflow community recommended me to use bpl (they said it is easy ), my previous post

解决方案

Here there's an article about loading a form from a package (bpl file): http://edn.embarcadero.com/article/27178 The same should work for frames.

And maybe the most important of all, understand the difference between a bpl and a plain dll: http://delphi.about.com/od/objectpascalide/a/bpl_vs_dll.htm

God bless

这篇关于从包装载框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆