|
|
|
SftButton.CancelMode Method |
Cancels current processing modes.
Syntax
VB.NET |
object.CancelMode() |
||
VB |
object.CancelMode |
||
C#.NET |
void object.CancelMode(); |
||
VC++ |
HRESULT object->CancelMode(); |
||
C |
HRESULT object->raw_CancelMode(); |
||
Delphi |
procedure object.CancelMode(); |
object
A SftButton object.
Comments
The CancelMode method cancels current processing modes.
Applications may wish to respond to events such as MouseDown. Many mouse related events may have built-in functions, particularly drag & drop operations may be started after these events are processed. If an application wants to suppress the built-in behavior, e.g. to display a context menu, the internal state of the control has to be cleared. This can be accomplished using the CancelMode method.