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

TControlStyleType

TControlStyleType - enumerated type describing features of the Control.

Declaration

Source position: controls.pp line 244

type TControlStyleType = (

  csAcceptsControls,

  

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

  csCaptureMouse,

  

Control focus and style changes when under the mouse cursor.

  csDesignInteractive,

  

wants mouse events in design mode.

  csClickEvents,

  

Control responds to single mouse clicks.

  csFramed,

  

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

  csSetCaption,

  

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

  csOpaque,

  

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

  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,

  

Control can be drawn using the TWinControl.PaintTo method.

  csNoStdEvents,

  

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

  csDisplayDragImage,

  

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

  csReflector,

  

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

  csActionClient,

  

Control includes support for TBasicAction.

  csMenuEvents,

  

Control responds to menu and menu item events.

  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 shrunk 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.

);

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