Timer in HMGIDE not accept longer than 20 seconds
Moderator: Rathinagiri
Timer in HMGIDE not accept longer than 20 seconds
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
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: Timer in HMGIDE not accept longer than 20 seconds
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.
In this case I´ve assigned 15 minutes (or 900000 milliseconds to timer)
this way works fine for me...
[]´s Salamandra
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
this way works fine for me...
[]´s Salamandra
Last edited by salamandra on Wed Mar 21, 2012 7:14 pm, edited 1 time in total.
There is one time in which is crucial awakening. That time is now. ( Buddha )
Re: Timer in HMGIDE not accept longer than 20 seconds
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
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.this works fine for me...Code: Select all
my_var:=1000000 yourform.timer.value:=my_var
[]´s Salamandra
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Timer in HMGIDE not accept longer than 20 seconds
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
Regards, saludos
--
Esgici
It's possible also assigning any value to INTERVAL propery of TIMER control, out of HMG IDE; editing .FMG file by any code editor
Code: Select all
DEFINE TIMER Timer_1 INTERVAL 900000 ACTION ...
--
Esgici
Viva INTERNATIONAL HMG