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

widgetcontainer

Inherited By

buttoncontrol, categoryselectioncontrol, chatwindow, chatentry, diecontrol, formattedtextcontrol, genericcontrol, imagecontrol, numbercontrol, portraitselectioncontrol, scrollbarcontrol, scrollercontrol, stringcontrol, subwindow, tokenbag, tokencontrol, windowlist, windowreferencecontrol

Context

windowinstance

This is a base class for all elements that are contained in windows and panels. See windowclass and windowinstance for more information on the general properties of windows.

...

The name is a simple string specified as an attribute in the element definition or passed to windowinstance.createControl. By default, it is also the name of the child node under the window instance data source that is used as the data source database node for the control itself. See databasecontrol for details on how controls are bound to the database.

...

Invisible controls are not drawn, have zero size in calculations involving them as parents in relative control placement and do not receive interface events. Visible controls are drawn and affect relative control placement calculations but might not receive interface events if they are disabled (see isEnabled).

Return values

(boolean)
Returns true if the control is visible, false if it is hidden.

...

dragdata   (dragdata)   
dragdata object containing the state of values connected to the mouse cursor as part of a drag and drop operation.

...

This function is called when the mouse is released at the end of a drag operation that started on the control. The dragdata object is first passed to the onDrop handler in the receiving control, which can set properties in the dragdata object that notify this control of the events.

...

dragdata   (dragdata)   
dragdata object containing the state of values connected to the mouse cursor as part of a drag and drop operation.

...

dragdata   (dragdata)   
dragdata object containing the state of values connected to the mouse cursor as part of a drag and drop operation.

...

dragdata   (dragdata)   
dragdata object containing the state of values connected to the mouse cursor as part of a drag and drop operation.

...

Sets the location of the visible area of the control, relative to its entire scrollable surface. If the placement is outside valid boundaries, it will be adjusted to be the closest valid position. Calling this function will cause the onScroll handler to be called.

Parameters

...

When the user is performing a drag of a type that the control is registered to accept (see dragdata), the frame of type "drophilight" is used.

...