Forum Discussion

stega's avatar
stega
Contributor
12 years ago

Wait object

Hi All, I have a problem, with waiting objects. I want to test an export function. When i click to export button it opens ms excel and when the export is complete it swithches back to the main a...
  • mugheessiddiqui's avatar
    12 years ago
    Hi Gabor



    You have forget to mention timeout in your statement.



    myapp.WaitVCLObject("TMessageForm", 10000);


    Timeout




    The number of milliseconds to wait until the specified object becomes available. If Timeout is 0, the method returns immediately. If Timeout is -1, the wait time is infinite...