Howdy, Stranger!

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

In this Discussion

Change dock panel buttons at run time

With the old docking panels (2010) you used to be able to set the buttons of the docking panel like so:

DockSite.Panels[x].Buttons := [pbClose];

With the 2019 version I get an " undeclared identifier: 'pcClose' " error.

I'm using the same names as seen in the object inspector.

How is it done these days?


Sign In or Register to comment.