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.
Column, computed field, picture, text, graph, group box, and button controls
PowerBuilder dot notation:
dw_control.Object.controlname.AccessibleRole
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. |
The description is a member of the AccessibleRole enumerated variable. The default role is defaultrole! and is used when the role cannot be determined.
Control |
AccessibleRole |
---|---|
Button |
pushbuttonrole! |
Column |
textrole! |
Computed field |
statictextrole! |
Graph |
diagramrole! |
Group box |
groupingrole! |
Picture |
graphicrole! |
Text |
statictextrole! |
In the Other tab in the Properties view, select a value in the AccessibleRole drop-down list.
ls_data = dw1.Object.b_1.AccessibleRole
ls_data = dw1.Describe("b_1.AccessibleRole")