问题 单项选择题

下列四组控件属性中,属性值的类型不相同的一组是( )。

A. Label控件的Enabled属性与TextBox控件的Enabled属性

B. OptionButton控件的Value属性与CheckBox控件的Value属性

C. Command控件的Default属性与Command控件的Cancel属性

D. Command控件的Visible属性与Form控件的Visible属性

答案

参考答案:B

解析:CheckBox控件的Value属性取值是0、1或2;OptionButton控件的 Value属性取值是True或Falseo。

阅读理解与欣赏
选择题