...
Note |
---|
Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70 |
Derived from a group widget. Automatically adds a scrollbar when its widgets overflow the box.
...
Construct a new Scroll object.
|
Initialization Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
y | Yes | integer | y coordinate value for top left corner. | |
x | Yes | integer | x coordinate value for top left corner. | |
width | Yes | integer | Width in pixels. | |
height | Yes | integer | Height in pixels. |
This Class inherits methods and properties from the Widget Base Class. See Widget Base Class for more information about setting your Object's x, y, w, and h properties or adding children to it.
Methods
Name | Description |
---|---|
Adds one or more widgets to the group. | |
Removes all child elements from the group or removes all content from the list. | |
Removes one or more widgets from a group. |
Properties
Name | Description | ||
---|---|---|---|
yPosition | Returns the current yPosition of the Scroll object. Note: this is not relative to the placement of the Scroll on the screen in anyway. Also can be used to set the y value of the scroll bar, causing it to scroll. Basic Example:
|