I have some questions. A derived class from a LCL one, can change the FCompStyle property?
Show quoted text 5 lines
no
The real question is: we can assume that a control with FCompStyle = csForm is a TCustomForm?
The FCompStyle was introduced to allow case statements in the interface. Normally this variable should be set by the interface. But because all interfaces would set the variables to the same values it is done by the LCL.
So, the only case, defining a FCompStyle of your own, is creating a new interface dependent control.
Mattias
