Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxToolbarColumn6 Items

Items

Provide access to the array (TCollection descendant) of buttons.

pas
property Items: TNxToolbarColumnButtons read GetItems write SetItems;

Every button is TCollectionItem descendants and include properties such as Text, Divider, Hint, ImageIndex.

Example

pas
// Add one button and set ImageIndex to 3rd icon
// from ImageList.
NxToolbarColumn61.Items.Add.ImageIndex := 2;
// Set 4th button as divider
NxToolbarColumn61.Items[3].Divider := True;

Sign in