The Button object

Path: relative paths according to sequences.

Snippet ID: Button

Corresponding AUI Tree element: Button

Fields (Attributes) Type Description
CID Attribute (number) Component identifier.
DID Deprecated ! Attribute (integer) Dialog identifier.

This path is deprecated use XDID path or makeValueIDID function instead.

IDID Attribute (string) Dialog identifier in inclusive format.
XDID Attribute (string) Dialog identifier in exclusive format.
id Attribute (integer) Object identifier.
type Attribute (string) Type name of the component, that is Button.
name Attribute (string) Button identifier
text Attribute (string) Text displayed for the Button.
comment Attribute (string) Comment displayed for the Button.
image Attribute (string) Correspond to the IMAGE attribute in 4GL.
isActive Attribute (boolean) True if the Button is active.
hasFocus Attribute (boolean) True if the Button has focus.
hidden Attribute (number) Corresponds to the HIDDEN attribute in 4GL.
tag Attribute (string) Corresponds to the TAG attribute in 4GL.
class Attribute (string) Corresponds to the STYLE attribute in 4GL.
style[ attribute-name ] Attribute (string) This selectable path will return the given attribute value inherited for this window.
decorationstyle[ attribute-name ] Collection of DecorationStyleItem objects This selectable path will return the given attribute value DecorationStyleItem object for this object. This object gives access to all pseudo-selector values for the given attribute.
decorationstyles Collection of DecorationStylesItem objects This path will return a DecorationStylesItem object for this object. This object gives access to all style attributes.
acceleratorName Attribute (string) First accelerator name.
acceleratorName2 Attribute (string) Second accelerator name.
acceleratorName3 Attribute (string) Third accelerator name.
acceleratorName4 Attribute (string) Fourth accelerator name.
autonext Attribute (boolean) True is AUTONEXT attribute is set.
width Attribute (string) Corresponds to the WIDTH attribute in 4GL.
height Attribute (string) Corresponds to the HEIGHT attribute in 4GL.
sizePolicy Attribute(string) Corresponds to the SIZEPOLICY attribute in 4GL.
fontPitch Attribute (string) Corresponds to the FONTPITCH attribute value in 4GL.
islocal Attribute (boolean) True if the action is a front-end local action. False otherwise
height Attribute (number) Height of the component.
width Attribute (number) Width of the component.
posx Attribute (number) X position of the component.
posy Attribute (number) Y position of the component.
gridheight Attribute (number) Grid height of the component.
gridwidth Attribute (number) Grid width of the component.
ttyfontfamily Attribute (string) Font family.