Forum Discussion

stega's avatar
stega
Contributor
11 years ago
Solved

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
    11 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...