Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IcxNavigator.CanInsert Method

Returns whether the Insert button should be enabled.

#Declaration

Delphi
function CanInsert: Boolean;

#Returns

Type
Boolean

#Remarks

Each time the state of navigation of the control is changed, the IcxNavigatorOwner.NavigatorStateChanged method must be called. This method checks the enabled state of all buttons. For this purpose, it calls several methods of the IcxNavigator interface implemented by the bound control. One of them is the CanInsert function, whose return value specifies whether the Insert button should be enabled. To enable the button for the current item, return True. If False is returned, the button will be disabled.

See Also