Page 1 of 1

Timer in HMGIDE not accept longer than 20 seconds

Posted: Wed Mar 21, 2012 6:04 pm
by jairpinho
Timer in HMGIDE not accept longer than 20 seconds, there is a way to put a value of 15 minutes on the timer, or otherwise

Re: Timer in HMGIDE not accept longer than 20 seconds

Posted: Wed Mar 21, 2012 6:20 pm
by salamandra
Hi Jair :) ,
This is a quite old issue...
But, you can try to solve by assigning the value of
a var to the Timer value.
Ex.

Code: Select all


my_var:=900000     // In milliseconds => 15 minutes
yourform.timer.value:=my_var

In this case I´ve assigned 15 minutes (or 900000 milliseconds to timer)

this way works fine for me... ;)


[]´s Salamandra

Re: Timer in HMGIDE not accept longer than 20 seconds

Posted: Wed Mar 21, 2012 6:47 pm
by jairpinho
Ola Salamandra deu certo somente definindo o valor a uma variavel se definir direto o valor não funciona, adicionei a uma variavel como voce falou e esta funcionando obrigado


Hello Salamander worked only by setting the value to a variable to set the value directly does not work, I added a variable as you said and it works thanks

salamandra wrote:Hi Jair :) ,
This is a quite old issue...
But, you can try to solve by assigning the value of
a var to the Timer value.
Ex.

Code: Select all


my_var:=1000000
yourform.timer.value:=my_var

this works fine for me... ;)


[]´s Salamandra

Re: Timer in HMGIDE not accept longer than 20 seconds

Posted: Wed Mar 21, 2012 7:37 pm
by esgici
Hi friends

It's possible also assigning any value to INTERVAL propery of TIMER control, out of HMG IDE; editing .FMG file by any code editor :arrow:

Code: Select all

DEFINE TIMER Timer_1 INTERVAL 900000 ACTION ...
Regards, saludos

--

Esgici