Sign in Join
FPDoc Onlineexperiment

TCustomButton.CreateParams procedure

Member of TCustomButtonprotectedIn unit StdCtrls

Updates creation parameters to use values needed for the control.

Declaration

pascal
procedure CreateParams(var Params: TCreateParams); override

Arguments

Params

Creation parameters updated in the method.

Description

Calls the inherited method on entry. Ensures that the style flags in Params is updated to include BS_DEFPUSHBUTTON when the Default property is True. Otherwise, BS_PUSHBUTTON is included in the style flags.

See also

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