DEFINE TIMER question

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3420
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

DEFINE TIMER question

Post 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
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: DEFINE TIMER question

Post by esgici »

serge_girard wrote: Anybody knows how to change the interval time?
( Under normal conditions ) : no :(
Timer Interval
Timer Interval
TimerInterval.JPG (16.75 KiB) Viewed 2845 times
( (D) : Means "design time)" )

Happy HMG'ing :D
Last edited by esgici on Wed Sep 18, 2013 3:20 pm, edited 1 time in total.
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: DEFINE TIMER question

Post 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
serge_girard
Posts: 3420
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: DEFINE TIMER question

Post by serge_girard »

Pablo,

Thank you.

_HMG_SYSDATA [ 8 ] [k]

What is the value of [K] ?

Serge
There's nothing you can do that can't be done...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

DEFINE TIMER question

Post by Pablo César »

In this case, k is aindex number where Timer control is.

Try this:

k := GetControlIndex ( cControlName, cParentForm )
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: DEFINE TIMER question

Post by Rathinagiri »

Why can't you release and re-define the control with new values instead of using internal commands?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply