Prior to Delphi XE2, we have VCL only to create GUI apps. Delphi XE2 states that:
Caution: FireMonkey (FMX) and the Visual Component Library (VCL) are
not compatible and cannot be used in the same project or
application. That is, an application must be exclusively one or the
other, either FireMonkey or VCL. The incompatibility is caused by
framework differences between FireMonkey (FMX) and VCL.
My application is a pure VCL application that is built with runtime packages. All VCL forms are stored in a runtime package. If I am going to create a FireMonkey form and store in a package, do I have any chance to instantiate this FireMonkey form in my VCL application at runtime? So I may enjoy the 3D or HD effects of FireMonkey.
Best Answer
This is perfectly possible, since the FMX form can be assigned to a panel.
See this blog article for details:
In fact, the FMXAdapter.pas code is very short: