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

TDialogButtons.Items

Provides indexed access to the dialog buttons in the collection.

Declaration

Source position: interfacebase.pp line 116

public property TDialogButtons.Items[Index: Integer] : TDialogButton
  read GetItem
  write SetItem;
  default;

Description

Items is an indexed TDialogButton property used to access to a dialog button by its ordinal position in the Items for the collection. Read and write access to the property value is re-implemented in TDialogButtons to use the TDialogButton type for the collection item in the property value.

Use Count to get the number of dialog buttons stored in Items.

Use Add to create and store a new TDialogButtoon instance in Items.

Use Delete to remove a collection item at a specific position in Items.

Use Clear to remove all Items in the collection.

See also

TDialogButtons.GetItem

  

Gets the value for the indexed Items property.

TDialogButtons.SetItem

  

Sets the value in the indexed Items property.

TDialogButtons.Add

  

Adds a new button instance to the Items in the collection.

TCollection.Clear

TCollection.Count

TCollection.Delete


Version 4.0 Generated 2025-05-03 Home