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

TCommonDialog.UserChoice

UserChoice - the value selected by the user.

Declaration

Source position: dialogs.pp line 121

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

Description

UserChoice is an name property which contains the modal result value returned for the dialog. It uses modal result constants like mrOk, mrCancel, et. al. as defined in the UITypes 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 3.2 Generated 2024-02-25 Home