DAZ Script |
---|
DzScrollArea ( DzWidget parent ) |
DAZ Script | |
---|---|
void | ensureVisible ( Number x, Number y, Number xmargin=50, Number ymargin=50 ) |
void | ensureWidgetVisible ( DzWidget childWidget, Number xmargin=50, Number ymargin=50 ) |
void | hideFrame () |
void | setHorizontalScrollbarDisplay ( Boolean onOff ) |
void | setVerticalScrollbarDisplay ( Boolean onOff ) |
void | setWidget ( DzWidget widget ) |
Provides a scrolling view of another widget.
Since:
DzWidget::AlignmentFlags : alignment
Holds the alignment of the widget.
Holds the size of the viewport as if the scroll bars had no valid scrolling range. (Read Only)
Since:
Holds whether the scroll area should resize the view widget.
DzScrollArea( DzWidget parent )
Creates a scroll area as a child of the given parent widget.
Parameter(s):
void : ensureVisible( Number x, Number y, Number xmargin=50, Number ymargin=50 )
Scrolls the contents of the scroll area so that childWidget
is visible inside the viewport with margins specified in pixels by xmargin
and ymargin
. If the specified point cannot be reached, the contents are scrolled to the nearest valid position.
Parameter(s):
void : ensureWidgetVisible( DzWidget childWidget, Number xmargin=50, Number ymargin=50 )
Scrolls the contents of the scroll area so that childWidget
is visible inside the viewport with margins specified in pixels by xmargin
and ymargin
. If the specified point cannot be reached, the contents are scrolled to the nearest valid position.
Parameter(s):
void : hideFrame()
Hides the frame around the scroll area.
void : setHorizontalScrollbarDisplay( Boolean onOff )
Sets whether to display the horizontal scrollbar.
Parameter(s):
true
, the horizontal scrollbar is always displayed. If false
, the horizontal scrollbar is never displayed.void : setVerticalScrollbarDisplay( Boolean onOff )
Sets whether to display the vertical scrollbar.
Parameter(s):
true
, the vertical scrollbar is always displayed. If false
, the vertical scrollbar is never displayed.void : setWidget( DzWidget widget )
Sets the contents of the scroll area to a widget.
Parameter(s):