Sets an icon for a custom command. Setting the icon works currently only with commands in task pane.
Visual Basic |
---|
Public Sub SetIconFromPath( _ ByVal customCommand As Long, _ ByVal iconPath As String _ ) |
The file should be in ICO (.ico) file format. Normally the 16x16 icon is used. If the desktop is DPI setting is set to 150 % or more, a 24x24 icon (if available) is used.
Supported in M-Files 9.0.3372.6 and newer.