JavaScript Editor js editor     Web development 



Main Page

Specifies the graphic to display when the control is disabled. Available at design time and run time.

Control.DisabledPicture[ = cPicture]

Return Value

cPicture


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

Remarks

Applies To: CheckBox Control | CommandButton Control | OptionButton Control

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

If you do not set the DisabledPicture property, Visual FoxPro uses the Picture property setting to determine the graphic displayed when the control is disabled.

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



JavaScript Editor js editor     Web development