📜  vbscript 按钮单击事件 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:56.757000             🧑  作者: Mango

代码示例2
' to get a button to work in a VBScript you must give the dialog box a name:

A = msgbox("We named this box A")

then when the code runs, whichever of the buttons that is pressed on that will be the value of our msgbox A, this can range from 1 - 7

for a deep excplanation refer to this website:
https://www.tutorialspoint.com/vbscript/vbscript_dialog_boxes.htm