我写了一串代码如图,按下Command1就可以选择一个文件。想再添加一个按钮Command2,使得按下Command2后让程序判断选中文件的文件名,若文件名匹配则显示文件说明(自己设置的文件说明)在Text3中。请教代码如何写?
if text1.text="文件名" then
text3.visible=true
else
text3.visible=false
end if追问
text3.visible=true
else
text3.visible=false
end if追问
你没理解我的意思。。。。。。
追答你能说清楚吗
问题不清楚怎么理解
温馨提示:答案为网友推荐,仅供参考