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.IsEditing Method

Returns whether the control is currently being Edited.

#Declaration

Delphi
function IsEditing: Boolean;

#Returns

Type
Boolean

#Remarks

There are three buttons displayed by navigator controls that affect editing. These are the Edit, Post and Cancel buttons. The enabled state of these buttons is controlled by the IsEditing and CanEdit functions. If both functions return True, the Edit button is disabled but the Post and Cancel buttons are enabled. If the IsEditing function returns False while CanEdit returns True, the Edit button is enabled while other mentioned buttons are disabled. All the three buttons are disabled when both methods return False.

Note that button state is updated when the IcxNavigatorOwner.NavigatorStateChanged method of the navigator is called. This method must be called by the control each time its navigation state (moving to a new position in its navigable range) changes.

See Also