explain difference between RUN and RUNMODAL

wicwic Member Posts: 96
I tried to understand the difference between run and runmodal but not successfully :? . It seems to be someting like background activity :shock: .. can someone explain me that in "simple words"?
#### Only one can survive ######

Comments

  • HalMdyHalMdy Member Posts: 429
    Typically, RUNMODAL function "waits" during process that the object required is closed before continuing the code. With that, you can manage Return value of the RUNMODAL fct to decide what to do after...

    Example :

    Try this in a CU :

    FORM.RUN(30);
    MESSAGE('OK');

    The Message Box appears directly with the Item Card


    FORM.RUNMODAL(30);
    MESSAGE('OK');

    In this case the Message Box appears after you close the Item Card.

    That's all the difference ! For the rest (return value of the RUNMODAL), see in the online help

    Hope that help you !! :D
Sign In or Register to comment.