TTMSFNCDataGridButtons Class
Ordered collection of TTMSFNCDataGridButton items that populate a header or footer toolbar bar.
API unit family: TMSFNCDataGrid
Inherits from: TTMSFNCOwnedCollection<TTMSFNCDataGridButton>
Syntax
TTMSFNCDataGridButtons = class(TTMSFNCOwnedCollection<TTMSFNCDataGridButton>)
Remarks
Obtained through TTMSFNCDataGridHeaderFooterBar.Buttons; the collection owns its items. Adding, removing or changing items rebuilds the bar.
Properties
| Name | Description |
|---|---|
| Items | Access the buttons in this collection by zero-based index. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new button at the end of the collection and returns it. |
| Insert | Inserts a new button at the specified zero-based position and returns it. |