如何获取用户输入的数值?
MxDraw网页开发|黄洪辉|2018-05-14 16:58
-
回答:
var getNum = mxOcx.NewComObject("IMxDrawUiPrInt"); getNum.message = "输入个数"; if (getNum.go() != 1) { return; } var num = getNum.value(); alert(num);
var getNum = mxOcx.NewComObject("IMxDrawUiPrInt"); getNum.message = "输入个数"; if (getNum.go() != 1) { return; } var num = getNum.value(); alert(num);