请问如何用代码命令来实现按扭的"按下"状态?
我在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]]