>>Althought that will probably work, it really isn't necessary to add it to a form, or screen.
>>
>>
>>Public MyTimer
>>MyTimer = CreateObject("cMyTimer")
>>
>>
>>should also work.
>>
>
>No need for public, private is fine...Jim Booth would throw a fit :)
Yeah, I know; any variable defined as private in the main program is public, for all practical purposes. Personally, I don't like using public variables either.
I am just thinking of the following. What would happen if I define a Timer with a local variable, in the main program? What would happen with the object? In any other place (outside the main program), the variable is invisible, but still exists. Would the Timer events run? Not that I am proposing such a radical thing, but I was just wondering what would happen.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)