It's been there for awhile, but it is not documented.

Charles Yeomans

On Mar 19, 2007, at 8:17 PM, William Squires wrote:

> I don't see a method "AddActionNotificationReceiver()" in the LR for
> the Timer class (at least in RB5.2.4 Win)... When did Timers inherit
> the ActionNotificationReceiver class interface?
>
> On Mar 19, 2007, at 3:07 PM, Jim Dossey wrote:
>
>> Here's how I would do this:
>>
>> Class MyClass Interfaces actionNotificationReceiver
>>   Property MyTimer As Timer
>>
>>   Sub Constructor
>>       MyTimer = new Timer
>>       MyTimer.addActionNotificationReceiver(me)
>>       MyTimer.Enabled = True
>>       MyTimer.Period = 2000
>>       MyTimer.Mode = Timer.ModeSingle
>>       MyTimer.Reset
>>   End Sub
>>
>>   Sub PerformAction
>>     MsgBox "Timer fired"
>>   End Sub
>> End Class
>>
>> On 3/17/07, Eric Richards <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi -
>>>
>>> I'm wanting to know can you use a timer
>>> in a class like you would use a timer normaly ?
>>>
>>> That is, if I do this
>>> property -
>>>     MyTimer as Timer (private)
>>>
>>> Can I use MyTimer in the class its self ?
>>> If so, how ?
>>>
>>> I could be wrong, but I have a feeling that it doesn't
>>> work that way.
>>>
>>> Thanks
>>>
>>> Eric
>>>
>>> Rb tripple 5
>>>
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>>
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to