User Guide
1390 UIScrollBar Component
UIScrollBar parameters
You can set the following authoring parameters for each UIScrollBar instance in the Property
inspector or in the Component inspector (Window > Component Inspector menu option):
_targetInstanceName indicates the name of the text field instance that the UIScrollBar
component is attached to.
horizontal indicates whether the scroll bar is oriented horizontally (true) or vertically
(
false). The default value is false.
You can set the following additional parameters for each UIScrollBar component instance in
the Component inspector (Window > Component Inspector):
enabled is a Boolean value that indicates whether the component can receive focus and input.
The default value is
true.
visible is a Boolean value that indicates whether the object is visible (true) or not (false).
The default value is
true.\
You can write ActionScript to control these and additional options for a UIScrollBar
component using its properties, methods, and events. For more information, see “UIScrollBar
class” on page 1395.
Creating an application with the UIScrollBar
component
The following procedure explains how to add a UIScrollBar component to an application
while authoring.
NOTE
The minHeight and minWidth properties are used by internal sizing routines. They are
defined in UIObject, and are overridden by different components as needed. These
properties can be used if you make a custom layout manager for your application.
Otherwise, setting these properties in the Component inspector has no visible effect.