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

后端 未结 3 903
旧时难觅i
旧时难觅i 2021-01-26 00:37

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.

相关标签:
3条回答
  • 2021-01-26 00:54

    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.

    0 讨论(0)
  • 2021-01-26 00:55

    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.
    
    0 讨论(0)
  • 2021-01-26 01:04

    In ChUi, you can't.

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

    0 讨论(0)
提交回复
热议问题