Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleClick here to show Table of Contents
Table of Contents

Inherits

windowcontrol

Inherited By

tokenfield

Context

windowinstance

Token controls contain token prototypes, and can be used to create token instances on controls accepting tokens. The icon representing the token is drawn in the control. If the control's dimensions are smaller than the prototype bitmap, the token image is scaled to fit in the control.

See tokenfield for a database bound version of this control type.

The control has built-in support for the "token" dragdata type.


Definition

Code Block
<tokencontrol name="..." >
  <empty > ... </empty>
  <nodrag />
  <nodrop />
</tokencontrol>

...

Return values

(tokeninstance)
The tokeninstance identified by the given parameters, or nil if not found.

...