Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Firemonkey Form in Dock Panel?

There exists the following which I have found useful to mix Firemonkey with VCL:

https://github.com/LaKraven/MonkeyMixer

https://parnassus.co/tfiremonkeycontainer-a-vcl-control-for-mixing-vcl-and-fmx/

The trouble is it feels a little clunky (undocking a tab makes the FMX form / content disappear) and performance becomes rather slow when the Window is made bigger.

Has anyone successfully mixed FMX with the LMD docking and can provide some useful tips?

I need to use VCL for the docking, but I also need FMX as I want to render 3D content in the dock panel.

Thanks
png
png
fmx_dock_panel.png
160K
Tagged:

Comments

  • 3 Comments sorted by Votes Date Added
  • So the performance issue may not actually be a problem with the docking as I tested in a new Firemonkey project a TColorPanel aligned to client and it still causes a slowdown (I only chose that control for a test).

    I'm left with two options now I think,

    Option 1 - prevent tabs been undocked
    Option 2 - find a solution that still allows undocking without losing the content
  • Here you can see the content (firemonkey form) is lost when undocked.
    png
    png
    Untitled.png
    80K
  • Most probably, the mentioned library does not respect the fact that VCL controls can (temporary) exist without real window handle (or parent window handle), and, as well, can change parent window and be ready to recreate its own handle at any time. So, this is a violation of implicit VCL protocol.
Sign In or Register to comment.