Home Index classes Index static functions Index enumerations Index structure types

{Timer|_periodical}


CLASS {Timer|_periodical} , UNTESTED :



A timer to provide periodical working.


IMPORT : {Form} , {Control} , {AL4_form} , {Geometry} .


BASE CLASS {Control} .



------------------------------------------------------------------ 'create'

  

FUN New_timer|_created_active (
     
{Form} Form|_owner ,
     
STR Alias|_of_timer ,
     
INT Interval|_milliseconds ) ==> {Timer} , NEW



FUN New_inactive_timer (
     
{Form} Form|_owner ,
     
STR Alias|_of_timer ,
     
INT Interval|_milliseconds ) ==> {Timer} , NEW



---------------------------------------------------------------- 'interval'

INT Interval|_between_ticks , READ , INIT


 

METHOD Set_interval ( INT Value|_milliseconds )



------------------------------------------------------------------ 'active'

BOOL Set_false , READ


  

METHOD Active|_now ==> BOOL



METHOD Set_active ( BOOL Value|_active )



--------------------------------------------------------- 'Precision timer'

INT Precision|_set_milliseconds_minimum , READ


   

METHOD Begin_precision ( INT Millisec|onds_minimum_precision )



METHOD End_precision



OVERRIDE Bounds ==> {Geometry}.{rect} , REPLACE


END