RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TComponentStyle Type

TComponentStyle is a set of flags that describe the current Style of a component.

Pascal
TComponentStyle = set of (csInheritable, csCheckPropAvail, csSubComponent, csTransient);
C++
(csInheritable, csCheckPropAvail, csSubComponent, csTransient) TComponentStyle;

Classes

The following table indicates the meaning of the various TComponentStyle flags:

Value 
Meaning 
csInheritable  
Descendant form types can inherit from the component. If any of the components in a form do not have the csInheritable style, the form cannot be used as the ancestor of an inherited form.  
csCheckPropAvail  
The component needs to check its properties for readability. This is only used for COM controls (on Windows), where the Object Inspector cannot tell directly that a property is readable, and therefore displayable.  
csSubComponent  
The component is a subcomponent of the component that is the value of its Owner property. Unlike top-level components, subcomponents are not saved with the form or data module in which they reside. Instead, a subcomponent appears as the value of a published property of its Owner, and its published properties and events are saved in the form file with the owning component.  
csTransient  
The component is a temporary object that should not be saved in a form file.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!