Page 1 of 1
DEFINE TIMER question
Posted: Wed Sep 18, 2013 2:15 pm
by serge_girard
Hello,
Anybody knows how to change the interval time?
Code: Select all
DEFINE TIMER Timer_1 INTERVAL nInterval
I tried:
Code: Select all
nInterval := some new value
SetProperty('Form_0','Timer_1','INTERVAL', nIntervall)
SetProperty('Form_0','Timer_1','Value', nIntervall)
But no result...
Thx, Serge
Re: DEFINE TIMER question
Posted: Wed Sep 18, 2013 2:23 pm
by esgici
serge_girard wrote:
Anybody knows how to change the interval time?
( Under normal conditions ) : no

- Timer Interval
- TimerInterval.JPG (16.75 KiB) Viewed 2848 times
(
(D) : Means "design time)" )
Happy HMG'ing

Re: DEFINE TIMER question
Posted: Wed Sep 18, 2013 2:24 pm
by Pablo César
Hi Serge !
I guess this info could help you. But seems not property for interval had been implemented (probably Claudio has missed to be included it)...
_HMG_SYSDATA [ 8 ] [k] := Interval
Re: DEFINE TIMER question
Posted: Wed Sep 18, 2013 2:39 pm
by serge_girard
Pablo,
Thank you.
_HMG_SYSDATA [ 8 ] [k]
What is the value of [K] ?
Serge
DEFINE TIMER question
Posted: Wed Sep 18, 2013 3:02 pm
by Pablo César
In this case, k is aindex number where Timer control is.
Try this:
k := GetControlIndex ( cControlName, cParentForm )
Re: DEFINE TIMER question
Posted: Wed Sep 18, 2013 3:30 pm
by Rathinagiri
Why can't you release and re-define the control with new values instead of using internal commands?