Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Scroll Bar Role

An accessibility object of the scroll bar role includes the following attributes as shown in Table B-31:

Table B-31  Attributes associated with the scroll bar role

Attribute

Required

Type

Description

Parent

Yes

UIElement

Accessibility object representing the scroll bar’s parent

Position

Yes

Point value

Structure containing screen-position coordinates

Size

Yes

Size value

Structure containing width and height values

Window

Yes

UIElement

Accessibility object representing the scroll bar’s containing window

Top-Level UIElement

Yes

UIElement

Accessibility object representing the scroll bar’s containing window, sheet, or drawer

Help

No

String

Help-tag text for the scroll bar

Enabled

Yes

Boolean

true if the user can interact with the scroll bar; false if interaction is disabled

Focused

Yes

Boolean

true if the scroll bar is focused; false otherwise

Children

Yes

UIElement array

Accessibility objects representing the scroller, scroll track, and scroll arrows (see Note below)

Value

Yes

Number

Numeric value representing the position of the scroller

Orientation

Yes

String

Horizontal or vertical orientation of scroll bar; see framework-specific reference documentation for string constant definitions

Note: A scroll bar’s children include an object of the value indicator role (representing the scroller) and 4 objects of the button role that can have the following subroles: Increment Arrow, Increment Page, Decrement Arrow, or Decrement Page. See “Button Role” for more information.



< Previous PageNext Page > Hide TOC


Last updated: 2008-03-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice