PSButtonClass

Objects of this class are server-side representations of buttons on the client side.

If you enable the 4GL server-side event model for your JSP Web pages, you can bind parameters or components to objects of this class in the PowerBuilder HTML editor. The Server Side Scriptable check box on the button control property sheet must also be selected.

Properties

PSButtonClass property

Datatype

Description

name

String

The name of the control. Because this is a read-only property, changing the name in a server-side script has no effect other than potentially causing confusion.

enabled

boolean

Whether or not the control allows focus. This property works only in browsers that support the DISABLED attribute.

value

String

The label for the button control.

visible

boolean

Whether or not the client control is generated. If not visible, there is no access to the client control.

Events

PSButtonClass event

Description

ServerAction

This event is triggered when a button action was the trigger for a page refresh. This event happens after all validation and data binding has occurred.