Previous Page | Next Page

SAS Component Language Dictionary

ICON



Associates an icon with a window
Category: Window

Syntax
Details
Example

Syntax

rc=ICON(icon-number);

rc

contains the return code for the operation:

0

successful

[ne]0

not successful

Type: Numeric

icon-number

is the number of the icon to use to represent the application window when it is minimized. If you specify a number for which no icon is defined, the SAS icon is used.

Type: Numeric


Details

When a user minimizes a window into an icon, SAS uses the specified icon to represent the window.

Only systems that display icons support this function. Non-graphical devices ignore the icon setting.

The ICON function is ignored if you are running with the SAS software Application Work Space (AWS). To run an application without the AWS, specify the AWS=NO option in the AF command.


Example

Assign icon number 107 as the icon for the current window:

rc=icon(107);

Previous Page | Next Page | Top of Page