Skip to main content

IcxNavigator.CanAppend Method

Returns whether the Append button is enabled.

Declaration

function CanAppend: Boolean;

Returns

Type
Boolean

Remarks

When the navigator control updates its state (the IcxNavigatorOwner.NavigatorStateChanged method is called), the navigator calls a number of methods that specify whether a particular button must be enabled or disabled.

The CanAppend function is called among them. Implement it to specify whether the current state of the control allows the addition of a new record (whether the Append button is enabled).

To enable the button for the current state, return True. Otherwise, it will be disabled.

See Also