发新话题
打印

请问如何用代码命令来实现按扭的"按下"状态?

请问如何用代码命令来实现按扭的"按下"状态?

我在AW帮助里看到了下面的话,请高手把"Answe"下的英文r给翻译一下或者请问如何实现用代码来表示单击了命令按扭
Question :
  Is there a way to code Authorware so that it presses a Button control? I tried PressKey(''AltX'')--pressing the HotKey property value that I assigned--but it didn’t work.
Answer:
  The easiest way to do this is to set the change event variable for the button to 1 (true) in your Authorware code. This will trigger the conditional response that you have assigned in your Authorware code for the control.

[[i] 本帖最后由 Hillman 于 2008-5-29 16:19 编辑 [/i]]

TOP

用PressKey有时是不起作用,请问如何用变量啊

TOP

Checked@"BottonIcon Tottle"=true

TOP

谢谢啦,不过其实UP ,OVER,DOWN和DISABLED都可以设置checked为1的啊

[[i] 本帖最后由 Hillman 于 2008-5-29 17:49 编辑 [/i]]

TOP

我只是想达到单击按扭(Down)而不是用Checked来表示选中.

TOP

发新话题