DoEvents equivalant?

slmaluwaslmaluwa Member Posts: 366
hi there
I am looking for an equivalant method for DoEvents of VB6 in Navision.
I run some processing when the user clicks a button. Since the process takes sometime to complete, the screen freezes until the process is complete.
On the other hand, I also try to set VISIBLE for hidden "Please wait..." LABEL right after clicking the button and HIDE it when the process is complete. But, this message never displayed. But, if I put a ERROR() or MESSAGE() in between, I can see that was actually displayed!

Please help to learn more on Navision

Bodhii
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."

Answers

  • nunomaianunomaia Member Posts: 1,153
    Navision don't have DoEvents event.

    You can use a DIALOG to display a message while you are doing something. Message text only appears at the end of transaction.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • slmaluwaslmaluwa Member Posts: 366
    Thank you nunomaia
    I was able to display a message using DIALOG.OPEN() and close after the processing.
    "A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
  • todrotodro Member Posts: 117
    nunomaia wrote:
    Navision don't have DoEvents event.
    You are right, it's called YIELD in Navision :mrgreen:
    Torsten
    MCP+I, MCSE NT, Navision MCT (2004,2005)
Sign In or Register to comment.