Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.Width property

Member of TCustomTaskDialogpublicIn unit Dialogs

Sets the width in pixels for the task dialog form.

Declaration

pascal
property Width: Integer read FWidth write FWidth default 0;

Description

Width is an Integer property which sets the width (in pixels) for the task dialog form. The default value for the property is 0 (zero), and causes the width for the dialog form to be calculated when the dialog is executed using the length of its textual content and controls.

Width is passed as an argument to the Execute method in the TTaskDialog instance used in the class.

Please note that an emulated task dialog form imposes a lower limit (120 pixels) or an upper limit (480 pixels) on the auto-calculated width.

See also

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