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

TCommonDialog.UserChoice

Contains the modal result value selected by the user.

Declaration

Source position: dialogs.pp line 122

public property TCommonDialog.UserChoice : Integer
  read FUserChoice
  write FUserChoice;

Description

UserChoice is an Integer property which contains the modal result value returned for the dialog. It uses values from the modal result constants like mrOk, mrCancel, et. al. as defined in this unit and in the system.uitypes.pp unit. Its value is updated by methods in the widgetset class when they display and process the dialog for the platform.

See also

TCommonDialog.Execute

  

Displays the dialog and captures the result.

TCommonDialog.DoExecute

  

The function that actually takes care of executing the dialog.

TModalResult


Version 4.0 Generated 2025-05-03 Home