this is something different: using this method you can call the specified method after the specified time - without sleeping in the meantime ;-))
br Tobias

      -----Original Message-----
      From: sebdra [mailto:[EMAIL PROTECTED]
      Sent: Tue 10.08.2004 14:29
      To: [EMAIL PROTECTED]
      Cc:
      Subject: [development-axapta] Re: pause(seconds)
     
     

      Hello,
     
      hmmm, there is a function on forms and reports....
      element.settimeout(str "method_name_as_string",int
      timeout_value,boolean calc_only_idle_time)
     
      but this works only in forms and reports....
     
      SebDra
     
      --- In [EMAIL PROTECTED], "byteway_so" <[EMAIL PROTECTED]>
      wrote:
      > Thanks for your reply!
      >
      > It works, but I thought there would be some build in commando for
      > that. Something like: sleep(int milliseconds)....
      >
      > But for now I think I can live with you solution:
      > {
      > int startTime, endTime;
      > int pauseTime;
      > ;
      >
      > startTime = WinApi::getTickCount();
      >
      > pauseTime = winapi::gettickcount();
      > while (winapi::gettickcount()-pauseTime < 10000)
      > {
      >   //I am gonna wait unti the midnight hour...
      > }
      >
      > endTime = WinApi::getTickCount();
      >
      > print "Wait time: ", time2StrHMS(endTime - startTime);
      > pause;
      > }
     
     
     
      ------------------------ Yahoo! Groups Sponsor --------------------~-->
      Yahoo! Domains - Claim yours for only $14.70
      http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
      --------------------------------------------------------------------~->
     
     
      Yahoo! Groups Links
     
     
     
     
     
     



[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to