Packages
Comm
DB
Debug
Input
Interface
Module
Token
User

Objects
bitmapwidget
databasenode
dragdata
textwidget
tokeninstance
widget
widgetcontainer

Elements
buttoncontrol
categoryselectioncontrol
chatentry
chatwindow
databasecontrol
diecontrol
diefield
formattedtextcontrol
formattedtextfield
genericcontrol
imagecontrol
numbercontrol
numberfield
portraitselectioncontrol
script
scrollbarcontrol
scrollercontrol
stringcontrol
stringfield
subwindow
textbasecontrol
tokenbag
tokencontrol
tokenfield
windowclass
windowcontrol
windowinstance
windowlist
windowreferencecontrol
windowreferencefield

Components
categoryselectionsettings
customdie
desktopframe
die
distance
font
framedef
hotkeybar
icon
imageupdatefolder
importinfo
includefile
panel
portraitset
properties
replaces
template
tokenroot
tooltip
setTarget



Inherits windowcontrol
Context windowinstance

A scrollbarcontrol creates a vertical scrollbar control.

The target control must be specified. All control types do not support scrolling, and in these cases the activation of this control does nothing.

The scrollbar control will automatically hide itself if the target control does not exist, does not support scrolling, or is not currently tall enough for scrolling.



Definition

<scrollbarcontrol name="..." >
<target > Defines the target control for the scrolling operation
<name > ... </name> Name of the target control in the same window instance with the scrollbar control
</target>
<normal > Defines the frame graphic to use for the scrollbar button.
<name > ... </name> Frame for scrollbar button
<offset > ... </offset> A comma separated list of four numbers specifying the pixel margins applied to the frame when drawn
</normal>
<pressed > Defines the frame graphic to use for the scrollbar button when pressed. Optional.
<name > ... </name> Frame for scrollbar button
<offset > ... </offset> A comma separated list of four numbers specifying the pixel margins applied to the frame when drawn
</pressed>
</scrollbarcontrol>


Interface

setTarget

function setTarget( ctrl )

Sets the target control for the scrollbar.

Parameters

ctrl(windowcontrol)
A reference to a windowcontrol object representing a control within the parent window.


'Fantasy Grounds' is a trademark of SmiteWorks Ltd. All other trademarks are the property of their respective owners.
2004-2010 SmiteWorks Ltd. ALL RIGHTS RESERVED.
Privacy policy