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

TCustomButton.ModalResult

When clicked, the button will close the form and return its ModalResult. (unless mrNone)

Declaration

Source position: stdctrls.pp line 1194

public property TCustomButton.ModalResult : TModalResult
  read FModalResult
  write SetModalResult
  default mrNone;

The latest version of this document can be found at lazarus-ccr.sourceforge.net.