Skip to main content

TcxCustomNavigator Class

Implements basic navigator functionality with capabilities exceeding the standard VCL navigator.

Declaration

TcxCustomNavigator = class(
    TcxControl,
    IcxNavigatorOwner,
    IcxNavigatorOwner2,
    IdxSkinSupport
)

Remarks

TcxCustomNavigator is the base class for all standalone (unbound and data-aware) navigators provided by the ExpressEditors Library. In contrast to a standard VCL navigator, it presents a collection of customizable buttons that can be accessed using the CustomButtons property. Each button can have its own image (default or custom) and hint.

The classes that relate to buttons implement navigator functionality. Since these classes do not have their own window control, they do not possess a canvas for drawing. Thus, they require an external window to display themselves and this is accessed via the IcxNavigatorOwner interface.

When it is necessary to recalculate and repaint a navigator control due to view changes, the RefreshNavigator method is called. This is required, for instance, when a button is hidden or when a button image is changed.

The look & feel of a navigator can be specified by its LookAndFeel property. The LookAndFeel.NativeStyle property determines whether the navigator is painted using native styles. The LookAndFeel.Kind and LookAndFeel.SkinName properties specify the borders, colors and highlighting settings applied to the navigator.

The TcxCustomNavigatorControl and TcxCustomDBNavigator classes are direct TcxCustomNavigator descendants providing unbound and data-aware navigator capabilities.

See Also