r3scroll

r3scroll

Class

oops/r3scroll.h

Library

r3oops

Description:

Scrollbar Gadget.

See Also

oops/r3osgdgt.h

Super Class

r3Osgadget

R3CLID_OSGADGET

JavaScript

r3Scroller

Class Identifier

R3CLID_SCROLLER - 31

Attributes

Top, Visible, Total, Freedom, Increment, PageIncrement,

Registration

int R3RegisterScrollerClass(R3APP *app);

Top

Attribute

Top

Identifier

R3GSCA_Top

JavaScript type

Integer

C type

R3INT

Description

current position

Syntax


jsobj.SetTop(value);
value = jsobj.GetTop();


R3INT value = ...;
R3SetAttrs(r3obj, R3GSCA_Top, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3GSCA_Top, &value, R3TAG_END);

Visible

Attribute

Visible

Identifier

R3GSCA_Visible

JavaScript type

Integer

C type

R3INT

Description

number of items shown in the gadet

Syntax


jsobj.SetVisible(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3GSCA_Visible, value, R3TAG_END);

Total

Attribute

Total

Identifier

R3GSCA_Total

JavaScript type

Integer

C type

R3INT

Description

total number of items

Syntax


jsobj.SetTotal(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3GSCA_Total, value, R3TAG_END);

Freedom

Attribute

Freedom

Identifier

R3GSCA_Freedom

JavaScript type

Integer

C type

R3INT

Description

See freedom codes below

Syntax


jsobj.SetFreedom(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3GSCA_Freedom, value, R3TAG_END);

Increment

Attribute

Increment

Identifier

R3GSCA_Increment

JavaScript type

Integer

C type

int

Description

'R3GSCA_Increment' not documented

Syntax


jsobj.SetIncrement(value);
value = jsobj.GetIncrement();


int value = ...;
R3SetAttrs(r3obj, R3GSCA_Increment, value, R3TAG_END);
int value;
R3GetAttrs(r3obj, R3GSCA_Increment, &value, R3TAG_END);

PageIncrement

Attribute

PageIncrement

Identifier

R3GSCA_PageIncrement

JavaScript type

Integer

C type

int

Description

'R3GSCA_PageIncrement' not documented

Syntax


jsobj.SetPageIncrement(value);
value = jsobj.GetPageIncrement();


int value = ...;
R3SetAttrs(r3obj, R3GSCA_PageIncrement, value, R3TAG_END);
int value;
R3GetAttrs(r3obj, R3GSCA_PageIncrement, &value, R3TAG_END);

Values for R3GSCA_Freedom

R3SCF_HORIZONTAL
R3SCF_VERTICAL

Registry function