[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Timers Commands
------------------------------------------------------------------------------

 Defining a new Timer        DEFINE TIMER <oTimer> ;
                                [ INTERVAL <nInterval> ] ;
                                [ ACTION <uAction> ] ;
                                [ OF | WINDOW | DIALOG <oWnd> ]



 <oTimer>        A reference to the Timer Object.

 <nInterval>     Defines the timer interval in thousandths of seconds.

 <uAction>       The action to be performed when the interval period is
                 reached.

 <oWnd>          A reference to the container Window Object.

 !seealso: TTimer.eho:TTimer Headers.eho:FiveWin.ch


#xcommand DEFINE TIMER [ <oTimer> ] ;
             [ INTERVAL <nInterval> ] ;
             [ ACTION <uAction,...> ] ;
             [ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
       => ;
          [ <oTimer> := ] TTimer():New( <nInterval>, [\{||<uAction>\}], <oWnd> )


#xcommand ACTIVATE TIMER <oTimer> => <oTimer>:Activate()
        DEACTIVATE TIMER <oTimer>
           RELEASE TIMER <oTimer>



This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson