我要根据message box的yes / no / cancel按钮区分后续操作,请问message box中button的返回值是什么啊?谢谢。
It will display the corresponding chosen button name output.
If you Click
Yes → Yes
No → No
Cancel → Cancel
Hi Jack,
谢谢!点X的返回值是什么?如果我用的是if而不是switch,没有default可选。
我说错了,点X的返回值是看你ButtonOptions选什么
Ok => 点X返回值 = Ok
OkCancel => 点X返回值 = Cancel
YesNoCancel => 点X返回值 = Cancel
YesNo => X 将禁用
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.