Compartir a través de


DownPicture Property

Specifies the graphic displayed when the control is selected. Available at design time and run time.

Control.DownPicture[ = cPicture]

Property Values

  • cPicture
    Specifies either a complete path and file name of a bitmap or the name of a general field in a table.

Remarks

If you set the DownPicture property at design time and the file you specify does not exist, Microsoft Visual FoxPro displays an error message, but the property remains set to the file you specified. Visual FoxPro ignores the DownPicture property at run time if it is set to a file that does not exist.

If you do not specify a setting for the DownPicture property, Visual FoxPro uses the graphic specified by the Picture property when the control is selected.

For CommandButton controls, the Style property must be set to 0 (Standard) for the bitmap to be displayed on the control; For CheckBox and OptionButton controls, the Style property must be set to 1 (Graphical).

See Also

DisabledPicture Property | Enabled Property | Picture Property | Style Property

Applies To: CheckBox | CommandButton | OptionButton