Recent

Author Topic: Missing CDPanel on Custom Drawn palette  (Read 4059 times)

Dibo

  • Hero Member
  • *****
  • Posts: 1045
Missing CDPanel on Custom Drawn palette
« on: September 20, 2012, 01:02:26 pm »
Hi,

There is TCDPanel control in customdrawncontrols unit. But why it is not registered on Custom Drawn palette? I must create it at runtime.

Regards.

Dibo

  • Hero Member
  • *****
  • Posts: 1045
Re: Missing CDPanel on Custom Drawn palette
« Reply #1 on: September 20, 2012, 02:08:10 pm »
Hm seems that TCDPanel doesn't act like normal TPanel. It can't contain subcontrols. This same problem with TCDGroupBox

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: Missing CDPanel on Custom Drawn palette
« Reply #2 on: September 24, 2012, 04:14:05 pm »
Controls that are not stable are not added to the palette.

LCL-CustomDrawn doesn't use TCDPanel to implement TCDWSPanel, so that's why I didn't work much on it. Also the Panel look is custom drawn by the LCL itself, so it is not really native.