I have 4 AdvPanel components that set on a AdvPanelGroup. I am unable to get either the AdvPanel1.OnCaptionClick or the AdvPanel.OnDBlClick events to fire.
All AdvPanels have AdvPanel.Enabled := True.
Whether AdvPanel.Collaps is true or false has no effect.
I cannot reproduce this.
Test project: http://www.tmssoftware.net/public/panelclicktest.zip
The supplied link "http://www.tmssoftware.net/public/panelclicktest.zip" gives a "this page can not be displayed error"
I've retested the link and I don't see a problem here.
The new link allowed me to download the test project. In comparing it with my project, I found the following.
if AdvPanel1.CanMove := True neither the AdvPanel1.OnCaptionClick nor the AdvPanel1.OnCaptionDBlClick will fire. If AdvPanel1.CanMove := False then both events fire.
Thanks for your efforts
It is by design that when CanMove = true, these events do not fire. When CanMove = true, the caption area is setup as being a window caption and just like you do not get a click event when you click the caption of a TForm, you do not get a click for a caption of this type on TAdvPanel.