Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

IgnoreDefaultButton – PB Docs 150 – PowerBuilder Library

IgnoreDefaultButton – PB Docs 150

IgnoreDefaultButton property for PowerScript controls

Controls

EditMask, MultiLineEdit controls

Description

The IgnoreDefaultButton property specifies whether the Clicked
event for the window’s default button is triggered when
user presses Enter.

When this property is enabled, pressing Enter does not trigger
the Clicked event, but instead adds a new line in the control.

When this property is not enabled, pressing Enter does trigger
the Clicked event and a new line is not added
in the control.

Usage

In a painter

proc.png To set the IgnoreDefaultButton property:

  1. Select the Ignore Default Button check
    box on the General page of the control’s Properties view.

In scripts

The IgnoreDefaultButton property takes a boolean value. The
default is false.

The following example specifies that pressing Enter does not
trigger the Clicked event for the window’s default button
and adds a new line in the MultiLineEdit control instead:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x