haopic
V2EX  ›  问与答

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

  •  
  •   haopic · Jul 24, 2014 · 2576 views
    This topic created in 4489 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
    izoabr
    Jul 24, 2014
    1
    vbscript还是啥来着,msgbox,确定之后获得变量值。
    你右键看看源代码不就得了
    cutehalo
    cutehalo
    Jul 24, 2014
    2
    prompt("请输入您的手机号","")
    点击确认 函数返回的就是输入框里面值
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   656 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:36 · PVG 05:36 · LAX 13:36 · JFK 16:36
    ♥ Do have faith in what you're doing.