Skip to main content

IcxNavigator.IsEditing Method

Returns whether the control is currently being Edited.

Declaration

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