TdxAlertWindowButtons.Items Property
In This Article
Provides zero-based indexed access to the custom buttons stored in the current collection.
#Declaration
Delphi
property Items[Index: Integer]: TdxAlertWindowButton read; write; default;
#Property Value
Type |
---|
Tdx |
#Remarks
The following code shows how to access the first custom button in a collection and hide this button.
Delphi
var
AAlertWindow: TdxAlertWindow;
// ...
// The following lines are equivalent
AAlertWindow.OptionsButtons.Buttons[0].Visible := False;
AAlertWindow.OptionsButtons.Buttons.Items[0].Visible := False;
To determine the number of custom buttons in the collection, use its Count property.
See Also