[Gambas-user] Timer Tag property

ron ronstk at ...239...
Thu Apr 8 14:14:04 CEST 2004


On Thursday 08 April 2004 07:00, Dimitri Bellini wrote:
> Dear Benoit
> 	i have try to use the creation of control Timer at runtime like this:
> ----
> private tmr[4] as Timer
> ---
> tmr[i]=NEW Timer(ME) AS "tmrCab"
> tmr[i].enabled=FALSE
> tmr[i].tag=i
> ---
>
> But in the first seems that the editor think the "Timer" is Time = Timer (
> ) e not the control and another the property Tag not seems to exist in this
> control. Can you give me some work around to have the Tag property working
> like button or textbox control?
> Thanks in advance
> Dimitri
>

It is correct the Timer object has no Tag.
However it is also invisible
As Tag substitute the X and Y position can be used.
Lucky guy, you have two pseudo .Tag properties now. :D

Ron




More information about the User mailing list