Sign in Join
FPDoc Onlineexperiment

TOpenPictureDialog.Create constructor

Member of TOpenPictureDialogpublicIn unit ExtDlgs

Constructor for the class instance.

Declaration

pascal
constructor Create(TheOwner: TComponent); override

Arguments

TheOwner

Owner for the class instance.

Description

Create is the overridden constructor for the class instance, and calls the inherited constructor.

Creates sets the values in the Options and Filter properties. Options is set to the value in the DefaultOpenDialogPictureOptions constant. Filter is set to the all files mask for common image format used on the platform or OS. This value is also assigned to the DefaultFilter property for the dialog.

Create allocates resources needed for the PictureGroupBox and ImageCtrl properties, and sets their parentage, alignment, and display properties.

See also

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