Sign in Join
FPDoc Onlineexperiment

TCommonDialog.UserChoice property

Member of TCommonDialogpublicIn unit Dialogs

Contains the modal result value selected by the user.

Declaration

pascal
property 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

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