ASNA Monarch® Framework

Icon Controls

What is a DdsIcon?

A DdsIcon is a simple control used to present an icon from the Icon ID Collection. These icons provide no interactivity beyond an informational tool tip. If more options are desired, consider using a DdsButton.

Applicability: These controls can be used in Wings, Mobile RPG, and Monarch pages/apps.

The Mechanics of a DdsIcon.

The IconID property, or the IconIDField and IconIDFieldLength properties control which Icon will be displayed.

DdsIcon Property Tasks

These are the DdsIcon's significant properties:

Property

Notes

Appearance

IconID Sets a static IconID from the IconID Collection.
IconIDField & IconIDFieldLength These properties define a character field whose runtime value is to be used as the full path to the IFS file. If these properties are set, the IconID property is ignored.
ToolTip A constant that sets the tool tip text for the control.
ToolTipField & ToolTipFieldLength These properties define a character field whose runtime value is to be used as the text for the ToolTip. If these properties are set, the ToolTip property is ignored.

Layout

Height &
Width
These properties set the height and width of the control in whichever unit is specified (pixels, by default).