Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-02

DockManager: how to truly close form

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Valdas Jankūnas

Hello,

I decided to use DockManager in my project. I fount that closing secondary form by pressing a X button in window of that form it becomes hidden not destroyed.
How to actually close (destroy and free) a secondary from when DockManager is used?

  "CloseAction:= caFree" not helped. I tried forcibly "Free" but that

produces crash of app.

ps: sorry for bad English.

Valdas Jankūnas

Reply by email