IcxNavigator.CanDelete Method
Returns whether the Delete button should be enabled.
Declaration
function CanDelete: 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 CanDelete function is called among them. Implement it to specify whether the current state of the control allows deletion (whether the Delete button is enabled).
To enable the button for the current state, return True. Otherwise, it will be disabled.
See Also