Sign in Join
FPDoc Onlineexperiment

TCustomListBox.CreateParams procedure

Member of TCustomListBoxprotectedIn unit StdCtrls

Initializes the creation parameters for the class instance.

Declaration

pascal
procedure CreateParams(var Params: TCreateParams); override

Arguments

Params

The creation parameters and flags for the instance.

Description

CreateParams is an overridden method used initialize the creation parameters for the class instance.

CreateParams calls the inherited method, and ensures that the Params argument is updated to include style constants needed for properties in the list box control. These include the constants needed for the Sorted, MultiSelect, and Columns properties. Owner-drawn constants are also included based on the value in Style. Style constants are always included for scrollbars (horizontal and vertical), non-integral item height, string content, and notify events.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.