User Tools

Site Tools


scrollbar

ScrollBar

ScrollBar scrolls the content and allows the user to set the location of scrollbar from vertical to horizontal or horizontal to vertical. The change of scrollbar position can be accomplished by setting the horizontal flag to true or false.


Characteristic

Definition
Type Interactive Display Object
Category Element
Scope Local
Position *
Parents Container
Children none
Gestures Drag and TouchEvents
Requirements none

Attribute

Type

Description
background object reference sets the horizontal background object
background_V object reference sets the vertical background object
background_VColor number sets the color of vertical background
background_VLineColor number sets the line color of vertical background
background_VLineStroke number sets the line stroke of vertical background
backgroundColor number sets the color of background
backgroundLineColor number sets the line color of vertical background
bottomSquare_V object reference sets the vertical bottom square object
bottomSquare_VColor number sets the color of vertical bottom square
bottomSquare_VLineColor number sets the line color of vertical bottom square
bottomSquare_VLineStroke number sets the line stroke of vertical bottom square
bottomTriangle_V object reference sets the bottom triangle object of vertical background
bottomTriangle_VColor number sets the color of vertical bottom triangle
horizontal true/false flag for vertical or horizontal background
leftTriangle object reference sets the left triangle object of horizontal background
leftTriangleColor number sets the color of left triangle
rightTriangle object reference sets the right triangle object of horizontal background
leftTriangleColor number sets the color of left triangle
scrollbar object reference sets the horizontal scrollbar object
scrollbarLineStroke number sets the line stroke of horizontal scrollbar
scrollbarLineColor number sets the line color of horizontal scrollbar
scrollbar_V object reference sets the vertical scrollbar object
scrollbar_VColor number sets the color of vertical scrollbar
scrollbar_VLineColor number sets the line color of vertical scrollbar
square1 object reference sets the left square object of horizontal background
square1LineColor number sets the line color of horizontal left square
square1Color number sets the color of horizontal square
square2 object reference sets the right square object of horizontal background
square2LineStroke number sets the line stroke of horizontal right square
square2Color number sets the color of horizontal right square
topSquare_V object reference sets the top square object of vertical background
topSquare_VColor number sets the color of top square of vertical background
topTriangle_V object reference sets the top triangle of vertical background
topTriangle_VColor number sets the color of top triangle of vertical background
bottomSquare_V object reference sets the bottom square of vertical background

See Also: Display Attributes

<ScrollBar id="sb" x="500" y="150" horizontal="true" backgroundLineColor="0x383838" backgroundLineStroke="1" backgroundColor="0x383838" background_VLineStroke="1" background_VLineColor="0x383838" background_VColor="0x383838" scrollbar_VLineColor="0x7F00FF" scrollbar_VLineStroke="0" scrollbar_VColor="0x7F00FF" scrollbarLineStroke="0" scrollbarLineColor="0x7F00FF" scrollbarColor="0x7F00FF" topTriangle_VColor="0x000000" bottomTriangle_VColor="0x000000" leftTriangleColor="0x000000" rightTriangleColor="0x000000" square1LineStroke="1" square1LineColor="0xA0A0A0" square1Color="0xA0A0A0" square2LineStroke="1" square2LineColor="0xA0A0A0" square2Color="0xA0A0A0" topSquare_VLineStroke="1" topSquare_VLineColor="0xA0A0A0" topSquare_VColor="0xA0A0A0" bottomSquare_VLineStroke="1" bottomSquare_VLineColor="0xA0A0A0" bottomSquare_VColor="0xA0A0A0"/>
</ScrollBar>
scrollbar.txt · Last modified: 2015/09/18 17:09 by glass