[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 193

`type TControlStyleType = (`
`csAcceptsControls,` |  |
`csCaptureMouse,` |  |
`csDesignInteractive,` |  |
`csClickEvents,` |  |
`csFramed,` |  |
`csSetCaption,` |  | As long as Name=Text, changing the Name will set the Caption
`csOpaque,` |  |
`csDoubleClicks,` |  |
`csTripleClicks,` |  |
`csQuadClicks,` |  |
`csFixedWidth,` |  |
`csFixedHeight,` |  |
`csNoDesignVisible,` |  |
`csReplicatable,` |  |
`csNoStdEvents,` |  |
`csDisplayDragImage,` |  |
`csReflector,` |  |
`csActionClient,` |  |
`csMenuEvents,` |  |
`csNoFocus,` |  |
`csNeedsBorderPaint,` |  |
`csParentBackground,` |  |
`csDesignNoSmoothResize,` |  |
`csDesignFixedBounds,` |  |
`csHasDefaultAction,` |  |
`csHasCancelAction,` |  |
`csNoDesignSelectable,` |  |
`csOwnedChildrenNotSelectable,`
`csAutoSize0x0,`
`csAutoSizeKeepChildLeft,`
`csAutoSizeKeepChildTop`
`);`

## Description

    Enumerated type comprising:
        csAcceptsControls, // can have children in the designer
        csCaptureMouse,
        csDesignInteractive, // wants mouse events in design mode
        csClickEvents,
        csFramed,
        csSetCaption,
        csOpaque,
        csDoubleClicks,// control understands mouse double clicks
        csTripleClicks,// control understands mouse triple clicks
        csQuadClicks,  // control understands mouse quad clicks
        csFixedWidth,
        csFixedHeight, // control cannot change its height (for example combobox)
        csNoDesignVisible,
        csReplicatable,
        csNoStdEvents,
        csDisplayDragImage,
        csReflector,
        csActionClient,
        csMenuEvents,
        csNoFocus,
        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
        csOwnedChildsSelectable // child controls owned by this control are selectable in the designer

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