>>>-snip-
>>>>You can programmatically define the timer as I indicated. However, in order to add it to the command group in the class designer, you'll have to add a object property reference to hold it. You can't use .AddObject().
>>>>
>>>
>>>George
>>>
>>>You lost me here, I've been looking at the class designer but can't find how to 'add a object property reference' could you give me some directions of point me to some remeidial reading ?
>>>
>>Donny,
>>
>
>George
>
>>Look under the Class menu. the first option should be New Property. Add the property name.
>check
>
>VFP will give it a default value of .F.. When I add an object property reference, I always change that to .NULL.
>check
>
>Then simply assign the object with CREATEOBJECT().
>Lost again, where does the CREATEOBJECT() code go?
I'd put it in the object's Init method. How you create it is up to you? You can sub-class the timer in a VCX, or in code. The VCX is probably best.
George
Ubi caritas et amor, deus ibi est