Implementing a sprite image as a toolbar button
To implement a sprite image as a toolbar button:
- Prepare the sprite image according to the specifications in the topic "Creating sprite images for toolbar buttons."
- Place the sprite image file in an appropriate location on the application server, according to the specifications in the topic "Creating sprite images for toolbar buttons."
- In Design Mode, select the toolbar button component in the Component property sheet.
-
In the
Bitmap File Name property
(Appearance property group), specify your sprite image file:
- Use the ellipses (...) button to reference the image file in the Mongoose file system.
- Use the drop-down list, if you imported the image file.
- Save your work, close the form, refresh the metadata cache (Ctrl + U), and reopen the form.
- Verify that the image changes when you move the mouse pointer over the icon.
Related topics