Principal > comp > gb > timer 
 en fr de it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previo  Siguiente  Editar  Renombrar  Deshacer  Buscar  Administración  
Documentación  
¡Precaución! La página no está traducida.  Véase la versión inglesa 
Timer (gb)
This clase implements a timer objeto.

A timer object raises events regularly, each time it is triggered. The amount of time between each evento is specified by the Delay propiedad.

Símbolos
Esta clase es Instanciable.

Propiedades  Métodos  Eventos 
Delay  Enabled    Start  Stop  Trigger    Timer   

Example

This example demonstrates the usage of the Timer in a Console program.

' Gambas module file

PUBLIC hConsoleTimer AS Timer

PUBLIC SUB Main()

  hConsoleTimer = NEW Timer AS "MyTimer"
  hConsoleTimer.Delay = 1000
  hConsoleTimer.Enabled = TRUE

END

PUBLIC SUB MyTimer_Timer()

  PRINT "Hello Gambas"

END