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

# TWSWinControl

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

## Declaration

Source position: wscontrols.pp line 104

`type TWSWinControl = class(TWSControl)`
`published`
`class function CanFocus(); virtual;` |  |
`class function GetClientBounds(); virtual;` |  |
`class function GetClientRect(); virtual;`
`class procedure GetPreferredSize(); virtual;` |  | Returns the preferred size of a widget, independent of current Width, Height, child controls and scrollbars.
`class function GetDefaultClientRect(); virtual;` |  |
`class function GetDesignInteractive(); virtual;` |  |
`class function GetDoubleBuffered(); virtual;` |  |
`class function GetText(); virtual;` |  |
`class function GetTextLen(); virtual;` |  |
`class procedure SetBiDiMode(); virtual;` |  |
`class procedure SetBorderStyle(); virtual;` |  |
`class procedure SetBounds(); virtual;` |  |
`class procedure SetColor(); virtual;` |  |
`class procedure SetChildZPosition(); virtual;` |  |
`class procedure SetFont(); virtual;` |  |
`class procedure SetPos(); virtual;` |  |
`class procedure SetSize(); virtual;` |  |
`class procedure SetText(); virtual;` |  |
`class procedure SetCursor(); virtual;` |  |
`class procedure SetShape(); virtual;` |  |
`class procedure AdaptBounds(); virtual;` |  |
`class procedure ConstraintsChange(); virtual;` |  |
`class function CreateHandle(); virtual;` |  |
`class procedure DestroyHandle(); virtual;` |  |
`class procedure DefaultWndHandler(); virtual;` |  |
`class procedure Invalidate(); virtual;` |  |
`class procedure PaintTo(); virtual;` |  |
`class procedure Repaint(); virtual;` |  |
`class procedure ShowHide(); virtual;` |  |
`class procedure ScrollBy(); virtual;` |  |
`end;`

## Inheritance

`TWSWinControl` |  |
`TWSControl` |  |
`TWSLCLComponent`
?
`TObject`

## Description

TWSWinControl is a TWSControl descendant.