Creating a Custom Icon

<< Click to Display Table of Contents >>

 

Creating a Custom Icon

To create a custom icon, follow these steps:

1.Create an XControl on a user library.

2.Based on any icon from the hpIcons library, copy and paste the primitives and properties to this new XControl.

3.Save the XControl.

 

Whenever this custom button is declared in the PopupCode property of the hpXFaceplateTemplate object, it must follow the format Library.Icon, where Library is the name of the library file that contains the icon and Icon is the name of the object.

 

NOTE

For more information about the usage of custom icons, please check topic Custom-Type Tabs.

Was this page useful?