This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
OnHeaderDblClick event for dock panels
I tried to add an event to track when the user does a double click in the panels header:
procedure WMLButtonDblClk(var Message: TWMLButtonDblClk); message WM_LBUTTONDBLCLK;
procedure TLMDDockPanel.WMLButtonDblClk(var Message: TWMLButtonDblClk);
begin
inherited;
if PtInRect(FHeaderArea, TPoint.Create(Message.XPos, Message.YPos))
then FOnHeaderDblClick(Self);
end;
This works fine for panels in a docksite. But it is not called for floating panels because the header is displayed as floating form caption the change will be more complicate.
So I'm wondering if there is another way to track this event or if you can add such an event in a future update.
cu Christian

Comments
cu Christian