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

DefaultPicture – PB Docs 2019 – PowerBuilder Library

DefaultPicture – PB Docs 2019

DefaultPicture

property (DataWindow object)

Description

Specifies whether a button displays a default picture for the
button’s action.

Applies to

Button controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

buttonname

The name of the button to which you want to assign
an action.

value

Whether the action’s default picture is
used.

Values are:

Yes — Use the default
picture.

No — Do not use the default
picture.

Usage

Default pictures can be associated with all button action
types.

You can add your own action pictures by setting the DefaultPicture
property to False and setting the Filename property to the file name
for the picture you want. You can use a URL instead of a complete path
to qualify the file name, and you can leave off the URL server name,
mapping prefix, and folder name if you set them in the
HTMLGen.ResourceBase property.

A user-defined action does not have a default picture associated
with it.

In the painter

Select the control and set the value in the Properties view,
General tab, Action Default Picture option. When the DefaultPicture is
not set, you can specify a picture file name in the Picture File
property. Button pictures can be BMP, GIF, or JPEG files.

Examples

See also

HTMLGen.property

DefaultPicture

Filename


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