User Guide

104 Button component
Properties inherited from the UIObject class
The following table lists the properties the Button class inherits from the UIObject class.
When accessing these properties from the Button object, use the form
buttonInstance.propertyName.
Properties inherited from the UIComponent class
The following table lists the properties the Button class inherits from the UIComponent class.
When accessing these properties from the Button object, use the form
buttonInstance.propertyName.
Property Description
UIObject.bottom Read-only; the position of the bottom edge of the object,
relative to the bottom edge of its parent.
UIObject.height Read-only; the height of the object, in pixels.
UIObject.left Read-only; the left edge of the object, in pixels.
UIObject.right Read-only; the position of the right edge of the object,
relative to the right edge of its parent.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top Read-only; the position of the top edge of the object, relative
to its parent.
UIObject.visible A Boolean value indicating whether the object is visible (true)
or not (
false).
UIObject.width Read-only; the width of the object, in pixels.
UIObject.x Read-only; the left edge of the object, in pixels.
UIObject.y Read-only; the top edge of the object, in pixels.
Property Description
UIComponent.enabled Indicates whether the component can receive focus and
input.
UIComponent.tabIndex A number indicating the tab order for a component in a
document.