Sign in Join
FPDoc Onlineexperiment

TTaskDialogButtons.FindButton function

Member of TTaskDialogButtonspublicIn unit Dialogs

Gets the button item in the collection with the specified modal result value.

Declaration

pascal
function FindButton(AModalResult: TModalResult)
: TTaskDialogBaseButtonItem

Description

FindButton enumerates values in the Items property to find the first button using the modal result value in AModalResult. The return value is Nil if a button using the modal result value is not found.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.