The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property AnchorImage: string;

The property AnchorImage specifies the bitmap file to be used for the anchor image. In order to display irregular shapes, the anchor image uses black as the mask color: all black pixels become transparent when displaying the anchor image. Thus you have to be careful not to use black pixels within the image. In the case black is needed in the image, it should be replaced by "almost" black pixels (i.e. use the color $010101 instead of $000000).

Hint 1: Please note that the anchor image is only visible of the property AnchorCovered is set to TRUE.

Hint 2: By default, the full path of the anchor image is stored in the property AnchorImage. In order to make your program portable, you should delete the directory information from the path and store the image in the same directory as the executable which uses TMeter.

Last Update: 2023-Dec-14