【问题标题】:Update Gui without pressing submit in AHK无需在 AHK 中按提交即可更新 Gui
【发布时间】:2015-03-18 00:10:05
【问题描述】:

所以我打赌已经涵盖了但我找不到它,所以如果你知道答案在哪里,只需指出我正确的方向! 我有一个带有两个单选框的 GUI,我想根据选择的单选显示/隐藏一些命令。但是,我宁愿不必创建新的 GUI,也不必单击“提交”按钮来执行此操作。有没有办法在不提交 gui 的情况下触发 guicontrol? 谢谢! 保罗

【问题讨论】:

    标签: user-interface autohotkey


    【解决方案1】:

    好的,所以我想出了如何完成我正在尝试做的事情,所以我将它发布在这里是为了后代! ;)

    我意识到如果我在表单后面附加nohide,我可以在不关闭表单的情况下使用GUI, Submit。 So I created a glabel for both radio buttons, so when either one is selected they activate a subroutine which submits the form (without hiding it), and does whatever actions I want it to, such as show more commands, or insert text. 保罗

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-06-02
      • 1970-01-01
      • 2012-07-03
      • 2018-06-24
      • 2011-02-17
      • 2015-02-24
      • 1970-01-01
      相关资源
      最近更新 更多