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

PictureButton – PB Docs 125 – PowerBuilder Library

PictureButton – PB Docs 125

PictureButton

PictureButtons are identical to CommandButtons in their functionality.
The only difference is that you can specify a picture to display
on the button. The picture can be a bitmap (BMP) file, a GIF or
animated GIF file, a JPEG file, a PNG file, a run-length
encoded (RLE) file, or an Aldus–style Windows metafile
(WMF).

You can choose to display one picture if the button is enabled
and a different picture if the button is disabled.

Use these controls when you want to be able to represent the
purpose of a button by using a picture instead of text.

proc.png To specify a picture:

  1. Select the PictureButton to display its
    properties in the Properties view.

  2. On the General tab page, enter the name of the
    image file you want to display when the button is enabled, or use
    the Browse button and choose a file.

  3. Enter the name of the image file you want to display
    when the button is disabled, or use the Browse Disabled button and
    choose a file.

    If the PictureButton is defined as initially enabled, the
    enabled picture displays in the Layout view. If the PictureButton
    is defined as initially disabled, the disabled picture displays
    in the Layout view.

proc.png To specify button text alignment:

  1. Select the PictureButton to display its
    properties in the Properties view.

  2. On the General tab page, enter the text for the
    PictureButton in the Text box.

  3. Use the HTextAlign and VTextAlign lists to choose
    how you want to display the button text.


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