Icon ApplyIcon Method

function ApplyIcon(AElement: TElement; const AIconName: String):
      Boolean

Usage

Available In: Visual Client Applications

Use this method to apply an icon as the background image of an element. The AElement parameter specifies the element on which to apply the icon, and the AIconName parameter specifies the name of the icon to apply.
Image