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

Filename – PB Docs 2018 – PowerBuilder Library

Filename – PB Docs 2018

Filename

property (DataWindow object)

Description

The file name containing the image for a Picture or Button control
in the DataWindow. If no image is specified for a Button control, only
text is used for the button label.

Applies to

Picture and Button controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

controlname

The name of the Picture or Button control in the
DataWindow for which you want to get or set the image file
name.

filestring

(exp) A string containing the name of the file that
contains the image. Filestring can be a quoted DataWindow
expression.

Button pictures can be BMP, GIF, or JPEG
files. You can use a URL instead of a full path name, and if you
set the HTMLGen.ResourceBase property to the URL address, you
need to specify only a relative file name for this
string.

If you include the name of the file
containing the image in the executable for the application,
PowerBuilder will always use that image; you cannot use Modify
to change the image.

Usage

In the painter

For a Picture control, select the control and set the value in the
Properties view, General tab, File Name option. For a Button control,
select the control and set the value in the Properties view, General
tab, Picture File option. The Action Default Picture check box must be
cleared to set the value for the picture file.

Examples

Example for a Picture control:

Example for a Button control:

See also

DefaultPicture


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