[Overview][Constants][Types][Index] |
Alias to the TModalResult type in the FPC RTL.
Source position: uitypes.pas line 72
type TModalResult = (Integer)..(Integer); |
TModalResult is an Integer type with a value in the range low(Integer)..high(Integer). TModalResult is the type returned by routines that display modal dialog boxes, such as: MessageDlg, MessageDlgPos, MessageDlgPosHelp, QuestionDlg, and LazMessageDlg.
The value in TModalResult indicates the button clicked to close the modal dialog, and contains one of the constant values:
Remark: | TModalResult has been deprecated in the UITypes unit for Lazarus versions after 2.0.12. Use the TMsgDlgType type from the System.UITypes unit in the FPC 3.2.0 RTL instead. |
Version 3.2 | Generated 2024-02-25 | Home |