[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Finds the button associated with (one of) the given modal result values.
Source position: interfacebase.pp line 112
public function TDialogButtons.FindButton( |
AModalResult: LongInt |
):TDialogButton; |
Order: array of LongInt |
AModalResult |
|
The modal result value for the button located in the method. |
Dialog button which uses the modal result value.
Order |
|
List of modal result values to find in the collection. |
FindButton is an overloaded TDialogButton function used to locate a dialog button in the collection which uses the specified modal result value. Overloaded variants are provided which accept one or multiple modal result values to locate in the method.
AModalResult contains the modal result value to locate in the collection Items.
AOrder allows an array of modal result values to be located in the method. It specifies the search order for the modal result values.
FindButton iterates over the Items in the collection to find the first button which uses the modal result value(s). The return value is the first TDialogButton instance in Items which matches the requested value(s).
|
Provides indexed access to the dialog buttons in the collection. |
|
|
The modal result value returned when the button is clicked. |
Version 4.0 | Generated 2025-05-03 | Home |