haopic
V2EX  ›  问与答

windows 对话框自定义的 input txt 是怎么做到的?

  •  
  •   haopic · Jul 24, 2014 · 2338 views
    This topic created in 4331 days ago, the information mentioned may be changed or developed.
    http://i.minus.com/i97GtmSdVKLoC.jpg
    类似与这样,而且点击下面的确定,可以获取到输入框内容!
    2 replies    2014-07-24 10:45:21 +08:00
    izoabr
        1
    izoabr  
       Jul 24, 2014
    vbscript还是啥来着,msgbox,确定之后获得变量值。
    你右键看看源代码不就得了
    cutehalo
        2
    cutehalo  
       Jul 24, 2014
    prompt("请输入您的手机号","")
    点击确认 函数返回的就是输入框里面值
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5569 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 08:23 · PVG 16:23 · LAX 01:23 · JFK 04:23
    ♥ Do have faith in what you're doing.