Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas on solution?
Message
From
01/02/2003 02:55:23
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00747185
Message ID:
00747978
Views:
17
David,
cool again.

>It doesn't have to be as complex as you coded, this works:
>
>
_screen.AddObject( "test1", "myTimer" )
>
>define class myTimer as Timer
>Interval = 10000
>
>function Timer()
>  ? "fired"
>  this.Parent.RemoveObject( this.Name )
>endfunc
>enddefine
>
>you can use this.parent to get a nameless reference to it's container.
>
>And I just tested this and it seems to work just as well:
>
>
function Timer()
>  ? "fired"
>  release this
>endfunc
>
>
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform