pictureDisabled

Type: Binary

Availability: Read or write at any time

The picture property of the Picture control defines the picture that is normally displayed. However, you can give the picture box the appearance of being a button, by assigning pictures to the pictureDisabled and pictureDown properties.

For Picture controls, the pictureDisabled property defines the picture displayed when the picture box is disabled. It defaults to the picture property. Picture control pictures are scaled according to the stretch property of the picture box.

For a Button control, the buttonPicture or picture property defines the picture that is normally displayed on the button, if any. For button controls, the pictureDisabled property defines the picture that is displayed if the button is disabled, regardless of which of the buttonPicture or picture properties is set.

When an icon image is assigned to button and the Button class autoSize property is not AutoSize_Picture, the size of the icon selected from the assigned icon image is now based on the client height of the button.

By default, for Button controls, a disabled button grays the text and displays the picture defined by the buttonPicture or picture property.