if option1.value=1 then text1.enabled=false text1.backcolor=灰色值 else text1.enabled=true text1.backcolor=正常白色值 end if
不好意思我写的是option1的 if option1.value=1 then text1.enabled=false text1.backcolor=灰色值 elseif option2.value=1 then 'option3同理 text1.enabled=true text1.backcolor=正常白色值 end if
text1.enabled=false
text1.backcolor=灰色值
else
text1.enabled=true
text1.backcolor=正常白色值
end if
if option1.value=1 then
text1.enabled=false
text1.backcolor=灰色值
elseif option2.value=1 then 'option3同理
text1.enabled=true
text1.backcolor=正常白色值
end if