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

< Previous PageNext Page > Hide TOC

Static Text Role

An accessibility object of the static text role includes the following attributes as shown in Table B-36:

Table B-36  Attributes associated with the static text role

Attribute

Required

Type

Description

Parent

Yes

UIElement

Accessibility object representing the static text’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 static text’s containing window

Top-Level UIElement

Yes

UIElement

Accessibility object representing the static text’s containing window, sheet, or drawer

Help

No

String

Help-tag text for the static text

Enabled

Yes

Boolean

true if the user can interact with the static text; false otherwise

Focused

Yes

Boolean

true if the static text is focused; false otherwise

Value

Yes

String

Text in the static text

Selected Text

Yes

String

Selected portion of the text in the static text

Selected Text Range

Yes

Range value

Position and length (in characters) of the selected portion of the text in the static text

Number of Characters

Yes

Number

Number of characters in the text in the static text

Visible Character Range

Yes

Range value

Position and length (in characters) of the text in the static text

Insertion Point Line Number

No

Number

Line number of current cursor position in static text



< 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