TcxCustomNavigatorButtons Class
Serves as the base class for classes that implement button collections used in navigator controls.
Declaration
TcxCustomNavigatorButtons = class(
TcxNavigatorChildComponent
)
Remarks
The collection contains the following buttons:
Default buttons with predefined functionality allowing end-users to perform most common data operations;
Custom buttons allowing you to implement your own functionality.
Both default buttons and custom buttons can be accessed by their default indexes within the Buttons collection.
The table below shows default collection indexes, images, and hints associated with individual buttons.
Button Name | Image | Default Index | Default Hint |
---|---|---|---|
NBDI_FIRST | |||
NBDI_PRIORPAGE | |||
NBDI_PRIOR | |||
NBDI_NEXT | |||
NBDI_NEXTPAGE | |||
NBDI_LAST | |||
NBDI_INSERT | |||
NBDI_APPEND | |||
NBDI_DELETE | |||
NBDI_EDIT | |||
NBDI_POST | |||
NBDI_CANCEL | |||
NBDI_REFRESH | |||
NBDI_SAVEBOOKMARK | |||
NBDI_GOTOBOOKMARK | |||
NBDI_FILTER | |||
Any custom button | No default image. You can associate an image with a button via the button’s ImageIndex property. | The default index is assigned automatically, starting from NavigatorButtonCount. | Empty string. You can specify a hint text via a button’s Hint property. |
All the operations associated with the default buttons are implemented in TcxCustomNavigatorButtons descendants.
You can use TcxCustomNavigatorButtons as the base class for your custom button collection classes.