TextButton Professional: Example #5

To view the applet tags used on this page, right click inside this frame and choose View Source

This example uses the code from Example #4, with the sole exception that each applet uses the BgImage parameter to place an image named 'droplets.jpg' behind the label. The same image is used as the backdrop for the table containing the applets. Because we want the same image to remain when the button is focussed or clicked, the same value is entered for the FocusImage and PressedImage parameters; otherwise, these to stages would replace the image with solid color.

Although the results aren't perfect (the applet background image can never be precisely aligned with the page background), the applets are small enough that the mismatches are not too glaring. Careful choice of image can achieve better results still.

Of course you could also use a much larger applet and image with either a single line of text or multiple autowrapped/delimited lines, as below: