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

DefaultCommand – PB Docs 2019 – PowerBuilder Library

DefaultCommand – PB Docs 2019

DefaultCommand

property for PowerScript controls

Applies to

RibbonTabButtonItem, RibbonLargeButtonItem, RibbonSmallButtonItem
controls

Description

The DefaultCommand property specifies whether a button has its own
command when it is associated with a menu (a dropdown list of related
commands). (Default is TRUE.)

When it is TRUE, the button has its own command, and users can click
the upper part of the button to execute the command; when FALSE, the
button does not have its own command, and users will expand or collapse
the associated menu when clicking any part of the button.

Usage

In a painter

To enable the Default Command property

  • Select the Default Command check box on the General page of the
    control’s Properties view.

In scripts

The DefaultCommand property takes a boolean value. To enable the
default command for a ribbon button, use a line like the following:


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