Menu

Docking form with VCL (Delphi)

2007-11-20
2012-11-14
  • Nobody/Anonymous

    Hi.
    I'm trying to write a simple docking form using Delphi VCL. Everything seems to be fine, BUT! When I place descendant of TWinControl on other parent, not on the form, for e. TMemo on TPanel, when form is loosing focus, whole program become not responding. How to figure out this problem? Thanks a lot for your help.

     
    • Damjan Cvetko

      Damjan Cvetko - 2007-11-20

      Hi. I had the same problem and was unable to fix it. I suspect some sort of hang somewhere in the lower parts of VCL message handling code.
      I had to switch to components that did not hang the app.

      However I did some changes since then. Try to set  Application.Handle to  notepad++ handle (the one you get from setinfo) and ensure your forms use it. Perhaps this could help.

      If you come up with some solution, please let me know.

      Best
      -Zobo