Icon Editor Dialog Box
- Updated2025-03-14
- 5 minute(s) read
Display this dialog box in one of the following ways:
- Double-click the icon in the upper right corner of the front panel window, block diagram window, or Control Editor window.
- Right-click the icon in the upper right corner of the front panel window, block diagram window, or Control Editor window and select Edit Icon from the shortcut menu.
- Select File»VI Properties or File»Control Properties to display the VI Properties dialog box or Control Properties dialog box, respectively. Then select General from the Category pull-down menu and click the Edit Icon button.
- Right-click a project library, statechart, class, or XControl item in the Project Explorer window and select Properties from the shortcut menu to display the corresponding Properties dialog box. Then click the Edit button on the General Settings page.
Use this dialog box to create and edit icons.
This dialog box includes the following pages and components:
You can modify the Icon Editor dialog box if you want to create a custom editing environment. To modify the Icon Editor dialog box, download the Icon Editor source files at ni.com. When you create a custom icon editor, you can call the Discover Who Invoked the Icon Editor VI at labview\resource\plugins\IconEditor\Discover Who Invoked the Icon Editor.vi to obtain the name, path, and application reference for the current item whose icon is being edited. You can use this information to customize the icon in a way you specify. For example, you might want to add a custom glyph to the icon based on the VI or library type.
When you create a custom icon editor, you must configure the VI to open its own front panel on call. For simple VIs that do not need to rearrange their front panels before opening, use the Execution:Show Front Panel on Call property. For more complex VIs that need to rearrange their front panels before opening, use the Front Panel:Open method.
Option | Description |
---|---|
Category | Displays icon templates you can use as a background for the icon. This page displays all .png, .bmp, and .jpg files in the LabVIEW Data\Icon Templates directory.
|
Icon Text | Specifies the text you want to display in the icon.
|
Category | Displays glyphs you can include in the icon. The Icon Editor dialog box displays all .png, .bmp, and .jpg files in the LabVIEW Data\Glyphs directory. By default, this page includes all glyphs in the Icon Library at ni.com. Select Tools»Synchronize with ni.com Icon Library to display the Synchronize with Icon Library dialog box and synchronize the LabVIEW Data\Glyphs directory with the most recent glyphs in the Icon Library.
|
Layers | Displays all layers of the icon. Select Layers»Show Layers Page to display this page if it is not already showing.
|
Preview | Displays a magnified preview of the icon. The Preview updates with each change you make in the Icon Editor dialog box. |
Icon | Displays a preview of the icon at its actual size. The Icon updates with each change you make in the Icon Editor dialog box. |
RGB | Displays the RGB color components of the pixel corresponding to the cursor location. |
XYZ | Displays the x-y position of the pixel corresponding to the cursor location. The Z value represents the total number of user layers in the icon. |
Tools | Tools—Displays editing tools you can use to modify the icon manually. If you left-click while using an editing tool, LabVIEW uses the Line Color. If you right-click while using an editing tool, LabVIEW uses the Fill Color. |
Horizontal Flip | Horizontally flips the user layer you select. If you do not select a layer, this tool flips all user layers. Note You also can press the <F> key to flip a user layer you select. |
Clockwise Rotate | Rotates the user layer you select in a clockwise direction. If you do not select a layer, this tool rotates all user layers. Note You also can press the <R> key to rotate a user layer you select. |
Line Color | Specifies the color to use for lines or borders. Click the Line Color rectangle to access a color picker from which you can select new colors. |
Fill Color | Specifies the color to use for fill areas. Click the Fill Color rectangle to access a color picker from which you can select new colors. |
Swap Colors | Interchanges the Line Color and Fill Color. |