Progress
Language Reference


LOAD-SMALL-ICON( ) Method

Specifies the file that contains the icon that you want to load for display in the title bar of a window and in the task bar only. This method can accommodate icons formatted as small size (16x16) icons, regular size (32x32) icons, or both.

The icon file might contain multiple icons. In those instances when multiple icons are in a file, the LOAD-SMALL-ICON method, by default, uses the 16x16 icon, if one exists, from the file that you specified. Otherwise, it uses the first icon in the file. If it uses a 32x32 icon, it reduces its size to a 16x16 format in both the title bar and the task bar.

If the load is successful, this method returns TRUE.

NOTE: You cannot use this method to display a specific icon when selecting a program using ALT-TAB; you must use the LOAD-ICON() Method for this purpose. Otherwise, Progress displays the default icon.

Return Type: LOGICAL

Applies To: Window

SYNTAX
LOAD-SMALL-ICON ( smallicon-filename [ n ] ) 

smallicon-filename

A character-string expression that specifies the name of a file that contains the icon you want to load for display in the title bar of a window and in the task bar.

n

An integer expression that specifies the position of an icon within the file. Only use this expression if you want to override the default behavior.

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095