Icon – PB Docs 150

Icon property for PowerScript controls

Controls

DataWindow controls and windows

Description

The Icon property specifies the icon to display when the DataWindow
control or window is minimized. You can specify a stock icon or
any icon file name.

Usage

In a painter

proc.png To specify an icon for minimization:

  1. Display the Icon tab page of the window’s
    or control’s Properties view.

  2. Specify an Icon Name by selecting a stock icon
    from the Stock Icons list box, or use the Browse button to select
    another icon (.ICO) file.

    After you have selected an icon, the image is displayed on
    the Icon tab page.

In scripts

The Icon property takes a string containing the name of the
icon file you want to display when the window or control is minimized.
You can specify a stock icon or any icon file name.

This example sets the icon for a window to an icon file called arrow.ico:

This example sets the icon for a window to the stock icon
Rectangle:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x