AccessibleRole

Description

A description of the kind of user-interface element that the control is, for use by accessibility tools such as readers for visually-impaired users.

Applies to

Column, computed field, picture, text, graph, group box, and button controls

Syntax

Describe and Modify argument:

"controlname.AccessibleRole { = 'enumeratedvalue ' }"

Parameter

Description

columnname

The name of the control for which you want to get or set the accessible description

description

(exp) A number specifying the type of AccessibleRole as a numeric value of the AccessibleRole DataWindow constant.

Usage

The description is a member of the AccessibleRole enumerated variable. The default role is defaultrole! and is used when the role cannot be determined.

Table 3-1: AccessibleRole values for DataWindow controls

Control

AccessibleRole

Button

pushbuttonrole!

Column

textrole!

Computed field

statictextrole!

Graph

diagramrole!

Group box

groupingrole!

Picture

graphicrole!

Text

statictextrole!


In the painter

In the Accessibility category in the Properties window, select a value in the AccessibleRole drop-down list.

Examples

Example 1

[Visual Basic]
ls_data = dw1.Describe("b_1.AccessibleRole")