[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Updates creation flags used to create the handle for the control.
Source position: stdctrls.pp line 913
protected procedure TCustomMemo.CreateParams( |
var Params: TCreateParams |
); override; |
Params |
|
Creation parameters for the control. |
CreateParams is overridden in TCustomMemo, and calls the inherited method on entry. CreateParams ensures that style flags needed for the multi-line control are included in the Style property in the Params argument.
Values from the ScrollBars and WordWrap properties are checked, and flags are added as needed. ScrollBars causes window style flags to be added like WS_HSCROLL and/or WS_VSCROLL. When WordWrap is set to True, the WS_HSCROLL window style is removed from the creation parameters. Otherwise, the edit style ES_AUTOHSCROLL is added to the creation parameters.
|
Ensures the required creation parameters are set for handle creation. |
|
|
Defines the vertical and/or horizontal scrollbars used in the control. |
|
|
Allows long lines (paragraphs) to wrap into multiple display lines. |
Version 4.0 | Generated 2025-05-03 | Home |