scrollercontrol

Inherits

windowcontrol

Context

windowinstance

scrollercontrol allows the user to scroll, pan or zoom the contents of another control.

The target control must be specified, and the exact function of the activation operation depends on the target control's type. All control types do not support scrolling, and in these cases the activation of this control does nothing.

This control supports panning and zooming (when control pressed on the keyboard) on imagecontrol objects and scrolling on windowlist objects.


Definition

<scrollercontrol name="..." > <target > <name > ... </name> </target> <button > <normal > ... </normal> <pressed > ... </pressed> <zoom > ... </zoom> <zoompressed > ... </zoompressed> </button> </scrollercontrol>

<scrollercontrol name="..." >

 

<target >

Defines the target control for the scrolling operation

<name > ... </name>

Name of the target control in the same window instance with the scroller control

</target>

 

<button >

Defines the names of icon resources used for drawing the control in various modes

<normal > ... </normal>

Icon for normal mode

<pressed > ... </pressed>

Icon drawn when the control is activated by pressing the mouse button down upon it

<zoom > ... </zoom>

Icon drawn when the user holds down the control key to activate zoom mode

<zoompressed > ... </zoompressed>

Icon drawn when the control is activated in zoom mode by pressing the mouse button down upon it

</button>

 

</scrollercontrol>