ArcObjects Library Reference (System)  

ITrackCancel.CancelOnKeyPress Property

Indicates whether the escape key and spacebar should cancel the operation.

[Visual Basic .NET]
Public Property CancelOnKeyPress As Boolean
[C#]
public bool CancelOnKeyPress {get; set;}
[C++]
HRESULT get_CancelOnKeyPress(
  VARIANT_BOOL* pCancelOnKeyPress
);
[C++]
HRESULT put_CancelOnKeyPress(
  VARIANT_BOOL pCancelOnKeyPress
);
[C++]

Parameters

pCancelOnKeyPress [out, retval]   pCancelOnKeyPress is a parameter of type VARIANT_BOOL pCancelOnKeyPress [in]   pCancelOnKeyPress is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Indicates whether the user can use the space bar to cancel the operation.

See Also

ITrackCancel Interface

.NET Related Topics

How to set up a Network Analyst solve to work with the undo/redo stack |