[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TCustomTaskDialog.Width

Sets the width in pixels for the task dialog form.

Declaration

Source position: dialogs.pp line 666

public property TCustomTaskDialog.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.

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

TCustomTaskDialog.Text

  

Text displayed as main content for the Task dialog.

TCustomTaskDialog.ExpandedText

  

Text that is displayed in the expandable / collapsible area on the Task dialog.

TCustomTaskDialog.Execute

  

Displays the dialog and captures the modal result value.

TTaskDialog.Execute

  

Launches the task dialog form.


Version 3.2 Generated 2024-02-25 Home