[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControlStyle

Set of control styles.

Declaration

Source position: controls.pp line 277

type TControlStyle = set of (

  csAcceptsControls,

  

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

  csCaptureMouse,

  

  csDesignInteractive,

  

wants mouse events in design mode

  csClickEvents,

  

  csFramed,

  

  csSetCaption,

  

As long as Name=Text, changing the Name will set the Caption.

  csOpaque,

  

  csDoubleClicks,

  

Indicates that the control understands mouse double clicks

  csTripleClicks,

  

Indicates that the control understands mouse triple clicks

  csQuadClicks,

  

Indicates that the control understands mouse quadruple clicks

  csFixedWidth,

  

Indicates that the control cannot change its width

  csFixedHeight,

  

Indicates that the control cannot change its height (e.g. combobox)

  csNoDesignVisible,

  

Indicates that the control is invisible in the form designer

  csReplicatable,

  

  csNoStdEvents,

  

  csDisplayDragImage,

  

display images from dragimagelist during drag operation over control

  csReflector,

  

  csActionClient,

  

  csMenuEvents,

  

  csNoFocus,

  

Indicates that the control cannot receive focus

  csNeedsBorderPaint,

  

[not implemented]

  csParentBackground,

  

[not implemented]

  csDesignNoSmoothResize,

  

no WYSIWYG resizing in designer

  csDesignFixedBounds,

  

control can not be moved nor resized in designer

  csHasDefaultAction,

  

control implements useful ExecuteDefaultAction

  csHasCancelAction,

  

control implements useful ExecuteCancelAction

  csNoDesignSelectable,

  

control can not be selected at design time

  csOwnedChildrenNotSelectable,

  

child controls owned by this control are NOT selectable in the designer

  csAutoSize0x0,

  

if the preferred size is 0x0 then control is shrinked to 0x0

  csAutoSizeKeepChildLeft,

  

when AutoSize=true do not move children horizontally

  csAutoSizeKeepChildTop,

  

when AutoSize=true do not move children vertically

  csRequiresKeyboardInput

  

Indicates that a control requires keyboard input to be utilized by the user. This information is utilized in Android and other platforms so that the virtual keyboard is activated when the control receives focus and the device has no hardware keyboard

);

The latest version of this document can be found at lazarus-ccr.sourceforge.net.