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 2019 – PowerBuilder Library

IgnoreDefaultButton – PB Docs 2019

IgnoreDefaultButton

property for PowerScript controls

Applies to

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

To set the IgnoreDefaultButton property:

  • 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