Copyright © 1998-2010 MultiMedia Soft

PictureDisabled property

Previous pageReturn to chapter overviewNext page

Type

LPCTSTR for Visual C++

String for Visual Basic

 

 

Syntax

object.PictureDisabled [=String]

 

 

Remarks

The filename or HTTP URL of the picture displayed over the button surface when the button is disabled.

Supported bitmap formats are BMP, ICO, GIF, JPG, TIF and PNG.

If the filename is an HTTP URL you can use the proprietary format AMZ.

If you need to download the file from an FTP URL you can use the SetPictureFromNet method.

To make the picture background transparent use the PictureTranspMode property.

To render a picture color transparent use the PictureTranspColor property.

 

 

Notes

When pictures or animations are set at design-time, you do not need to distribute the pictures or animations with your application. This is because they will be included in your program at compile-time. Redistribution of images is only necessary when the images on the button will be changing at run-time.