Identifier: clicks

Type

numeric

Description

The number of mouse clicks which terminated the last interactive operation in a graphic window (or a panel button). This identifier is maintained automatically by the system and cannot be changed programmatically.

Example

Create a graphic window, then get a point position interactively from it:

wgraphic;plan
point p1=pcur
if (clicks == 1) !Operation was terminated with a single click
else !Operation was terminated with a double click

See Also

Commands:

uncursor (numeric)

Identifiers:

button (numeric)