FlashGUI Functions

  Objects Object functions Other functions  

Objects / scrollbar

scrollbar

scrollbar(objnum,coord,option)

creates a scrollbar

Parameters

objnumobject number
coordcolumn, row, length
comma or @am delimited.
Length is the number of rows for vertical
or the numbers of columns for horizontal
direction of the object.
The default direction is vertical.
optionoptions comma or @am delimited

Options

disabledisabled
dragsend drag events
hideinvisible
horzhorizontal direction
sizing CODE [base.objnum]sizing specification (see sizing)

Events

WM_VSCROLLVertical scroll

Data:

dt<1> - action:

LINEUP - Up arrow has been pressed
LINEDOWN - Down arrow has been pressed
PAGEUP - The area above the slider has been clicked
PAGEDOWN - The area below the slider has been clicked
DRAG - The slider has been dragged
ENDSCROLL - The mouse button has been released

dt<2> - current position

dt<3> - scroll info in values:

1 - number of units in the scrollbar
2 - number of units in the scroll page
3 - position of the slider
WM_HSCROLLHorizontal scroll

Data:

dt<1> - action:

LINELEFT - Left arrow has been pressed
LINERIGHT - Rright arrow has been pressed
PAGELEFT - The area on the left from the slider has been pressed
PAGERIGHT - The area on the right from the slider has been pressed
DRAG - The slider has been dragged
ENDSCROLL - The mouse button has been released

dt<2> - current position

dt<3> - scroll info in values:

1 - number of units in the scrollbar
2 - number of units in the scroll page
3 - position of the slider

Functions

delobjdeletes object
doexecutes an additional action
getdtreturns additional data
modifymodifies object's properties
setscrollsets scroll info for a scrollbar
setscrollpossets slider position in a scrollbar
 

Page 4-19 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010