DownPicture Property
Specifies the graphic displayed when the control is selected. Available at design time and run time.
Control.DownPicture[ = cPicture]
Return Value
- cPicture
Specifies a complete path and file name of a bitmap.
Remarks
Applies To: CheckBox Control | CommandButton Control | OptionButton Control
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
Reference
Enabled Property (Visual FoxPro)
Picture Property (Visual FoxPro)