Skip to main content

TcxCustomNavigatorControl.Buttons Property

Provides access to the button collection of a non-db navigator.

Declaration

property Buttons: TcxNavigatorControlButtons read; write;

Property Value

Type
TcxNavigatorControlButtons

Remarks

Use the Buttons property to access a certain button within the collection. Buttons of the TcxNavigatorControlButtons class have default actions. These actions depend on the procedures implemented in the IcxNavigator interface of the managed control. Without an implementation of this interface, a non-db navigator control cannot perform any actions.

The following table represents the default functionality of each navigator button according to the IcxNavigator interface procedures.

Button Name Description
First Calls the IcxNavigatorControl.First procedure.
PriorPage Calls the IcxNavigatorControl.PriorPage procedure.
Prior Calls the IcxNavigatorControl.Prior procedure.
Next Calls the IcxNavigatorControl.Next procedure.
NextPage Calls the IcxNavigatorControl.NextPage procedure.
Last Calls the IcxNavigatorControl.Last procedure.
Insert Calls the IcxNavigatorControl.Insert procedure.
Delete Calls the IcxNavigatorControl.Delete procedure.
Edit Calls the IcxNavigatorControl.Edit procedure.
Post Calls the IcxNavigatorControl.Post procedure.
Cancel Calls the IcxNavigatorControl.Cancel procedure.
Refresh Calls the IcxNavigatorControl.Refresh procedure.
SaveBookmark Calls the IcxNavigatorControl.SaveBookmark procedure.
GotoBookmark Calls the IcxNavigatorControl.GotoBookmark procedure.
Filter Calls the IcxNavigatorControl.Filter procedure.

You can extend this button collection with custom buttons to provide any custom functionality.

The following example changes the hint of the First navigator button:

cxNavigatorControl1.Buttons.First.Hint := 'Press this button to jump to the beginning';
See Also