Search code examples
delphidynamicbpltframe

Load Frames from packages


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


Solution

  • 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