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?