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

TDialogButtons.FindButton

Find the button associated with (one of) the given modal result.

Declaration

Source position: interfacebase.pp line 110

public function TDialogButtons.FindButton(

  AModalResult: LongInt

):TDialogButton;

function TDialogButtons.FindButton(

  Order: array of LongInt

):TDialogButton;

Arguments

AModalResult

  

The modal result to find.

Arguments

Order

  

List of modal results to find.

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