Stretchwickster
Programmer
Hi everyone,
I've just starting having a go at writing custom components. I have an issue that I need to resolve regarding TPanels. My custom component is inherited from a TPanel and it contains two components. I have this all working fine. However, if you drop the component on the form at design-time, it is possible to add further controls into the panel. I don't want this to be possible. Does anyone know of any solution?
Your help would be much appreciated!
Clive![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
Ex nihilo, nihil fit (Out of nothing, nothing comes)
I've just starting having a go at writing custom components. I have an issue that I need to resolve regarding TPanels. My custom component is inherited from a TPanel and it contains two components. I have this all working fine. However, if you drop the component on the form at design-time, it is possible to add further controls into the panel. I don't want this to be possible. Does anyone know of any solution?
Your help would be much appreciated!
Clive
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
Ex nihilo, nihil fit (Out of nothing, nothing comes)