Packages
Comm
DB
Debug
Extension
Input
Interface
Module
Token
User

Objects
bitmapwidget
databasenode
dragdata
textbasecontrol
textwidget
tokeninstance
widget
widgetcontainer
windowcontrol
windowinstance

Controls
buttoncontrol
categoryselectioncontrol
chatentry
chatwindow
databasecontrol
diecontrol
diefield
formattedtextcontrol
formattedtextfield
genericcontrol
imagecontrol
numbercontrol
numberfield
portraitselectioncontrol
scrollbarcontrol
scrollercontrol
stringcontrol
stringfield
subwindow
tokenbag
tokencontrol
tokenfield
windowlist
windowreferencecontrol
windowreferencefield

Assets and Settings
announcement
categoryselectionsettings
characterdbroot
customdie
description
desktopframe
die
diebox
distance
font
framedef
hotkeybar
icon
imageupdatefolder
imagesettings
importinfo
importruleset
includefile
panel
pollbox
portraitset
properties
replaces
script
string
template
textsettings
tokenroot
tooltip
windowclass
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
<minimum > Defines minimum size of scrollbar button.
<height > ... </height>
</minimum>
</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