TControl.ControlStyle property
Contains style flags which control the features or behaviors enabled for the control.
Declaration
property ControlStyle: TControlStyle read FControlStyle write FControlStyle;Description
ControlStyle is a
TControlStyle property used to enable
features or behaviors for a control. Values from the
TControlStyleType enumeration are added to the property to enable
the corresponding feature supported in the control.
Values in ControlStyle are normally assigned in the constructor for a given control class.
Some controls implement properties which cause the values in the set to be changed when a new value is assigned to the property. For example, TToolBar.Transparent includes or excludes csOpaque in ControlStyle as needed to reflect the value for the property. Values in the property may also be read and/or updated when methods in the control are called.
The visibility for the ControlStyle property is public, so it does not appear in the Lazarus Object Inspector. But it can be updated in program code as needed.
See TControlStyleType for more information about values in the enumeration and their intended usage.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
