OpenEdge ABL automatically close a yes/no message after a certon amount of time has pasted

时光毁灭记忆、已成空白 提交于 2019-12-20 05:48:31

问题


Right now I have: message "Hello World" view-as alert-box warning buttons yes-no update lVariable.

how can I automatically click the no after 14 seconds.


回答1:


How to do this "another way":

DEFINE FRAME f-message
      "This is your message"
      WITH CENTERED
      OVERLAY
      .


DO ON ENDKEY UNDO, LEAVE:

VIEW FRAME f-message.

PAUSE 14 NO-MESSAGE.

HIDE FRAME f-message.

END.



回答2:


In ChUi, you can't.

(and this is some more characters so I make the 30 char minimum for an answer.)




回答3:


If you're on version 10.2b+ you might be able to use the STOP-AFTER clause on a do/for/repeat block to control this.

Not sure as I don't have that version myself to try.

BTW. Always put your version on a question as it can make a difference to the options available.



来源:https://stackoverflow.com/questions/9199175/openedge-abl-automatically-close-a-yes-no-message-after-a-certon-amount-of-time

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!