Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]


Set type used to store values from the TControlStyleType enumeration.


Source position: controls.pp line 314

type TControlStyle = set of (



Indicates that one can add child controls to this control in the form designer.



Control focus and style changes when under the mouse cursor.



Control handles mouse events at design-time.



Control responds to mouse click events.



Control has a 3D frame; used on scroll bars in the current LCL version.



Indicates that the Caption for a control is updated when a value is assigned to the Name property. As long as Name=Text, changing the Name will set the Caption. When, for example, a button's Name and Caption have the value 'Button1' and the Name is changed to 'Button2' then the Caption is changed as well. When Name and Caption differ, this flag has no effect. This flag has no effect when loading the control using the LCL component streaming mechanism.



Control is drawn with a non-transparent background; implementation is widgetset-specific.



Indicates that the control understands mouse double click events.



Indicates that the control understands mouse triple click events.



Indicates that the control understands mouse quadruple click events.



Indicates that the control cannot change its width.



Indicates that the control cannot change its height (e. g. a combo-box).



Indicates that the control is invisible in the form designer.



Control can be drawn using the TWinControl.PaintTo method.



Key messages are handler by widgetset classes instead of control events.



Display images from the drag imagelist during a drag operation over the control.



Control responds to size, focus, and dialog messages and can be used as an ActiveX control (Windows).



Control includes support for TBasicAction.



Control responds to menu and menu item events.



Indicates that the control or form cannot receive focus.



Indicates that the client area for the control needs to be redrawn including its borders. LCL controls do not use this value in their control styles property. Implemented for JVCL controls and its theme engine.



Indicates whether the background for the parent control is used to fill the client area in the control. Used for controls which have a window handle for the parent control and do not use csOpaque in their control style. On some platforms (like WinXP and Windows 7), csParentBackground can be used to reduce flicker when the parent control is resized.



WYSIWYG resizing is not used on the design surface.



Control cannot be moved or resized on the designer surface.



Control executes a default action when the Space or Enter key is pressed.



Control executes an action when the Escape key is pressed or the form/dialog is closed using the window decoration.



Control cannot be selected at design-time.



Child controls owned by this control are not selectable in the designer.



If the preferred size is 0x0 pixels then the control is auto-sized; the default minimum client size will be 1x1 pixels.



When AutoSize is True, do not move child controls horizontally.



When AutoSize is True, do not move child controls vertically.



Indicates that a control requires keyboard input to be utilized by the user. Used for the Android (and other) platforms to activate the virtual keyboard when an active control needs to respond to input values. Used primarily for devices that do not have a hardware keyboard.



TControlStyle is a set type used to store zero or more values from the TControlStyleType enumeration. Values from TControlStyleType are included in the set when the corresponding feature or behavior is enabled for a control.

TControlStyle is the type used to implement the ControlStyle property in TControl and descendent classes.

See also



Enumerated type with values for features or behaviors for a control.



Contains style flags which control the features or behaviors enabled for the control.

CT Web help

CodeTyphon Studio