Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding timer to a command button group
Message
 
To
19/02/1999 17:01:49
Donny Sims
Independent Computer Consultants Inc
Scottsboro, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00189316
Message ID:
00189537
Views:
6
>>>-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
Previous
Reply
Map
View

Click here to load this message in the networking platform