Runtime_SetIcon()

Examples


The Runtime_SetIcon() function allows you to specify which icons will be displayed in the application.

Syntax

Runtime_SetIcon(type, icon_value)

Parameters

type An integer specifying which icon type is being specified. Use one of the following constants:

[spacer]

Constant

Description

APPLICATION_ICON

This is the icon displayed in the application’s title bar.

PRIMARY_ICON

This is the icon displayed in the title bar of all primary window.


icon_value – An integer specifying which icon to use. The following icons are available:

[spacer]

Constant

Description

ICON_GREATPLAINS

The logo for Great Plains.

ICON_GRAYFORM

A plain “form” icon to be used as an icon in primary windows.

ICON_GREATPLAINSFORM

A “form” icon that contains the logo for Great Plains.


Return value

A boolean. True indicates the icon was set, while false indicates it was not.


Documentation Feedback