指定选择控制时显示的图形。设计和运行时可用。
语法
Control.DownPicture[ = cPicture]
设置
cPicture
指定位图的完整路径和文件名或数据库表中的通用字段名。
说明
若在设计时设置 downpicture 属性,而指定的文件不存在,则 Visual FoxPro 显示错误信息,但是该属性仍保留。若在运行时,
downpicture 属性设置给不存在的文件,则 Visual FoxPro 忽略此属性。
若不指定 downpicture 属性的设置,则当选择控制时 Visual FoxPro 使用 Picture 属性指定的图形。
对于CommandButton 控件,Style 属性必须设置为0 (标准),以使位图在控件上显示;对CheckBox 和 OptionButton控件,Style 属性必须设置为1 (图形)。