Load Frames from packages

不羁的心 提交于 2020-01-07 06:24:12

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/4144563/load-frames-from-packages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!