Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopwatch.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00976132
Message ID:
00976179
Vues:
13
>Okay. I've done this before, but I forgot and there are no good examples in VFP Help. I have subclassed the datetime _stopwatch class to 'stopwatch' and all I want to do is reset it to zero when I click a button on my form. The class resides on the form as well. I should use reset() to make it happen. I have tried every combination of idea, but no success yet. So, I am here to ask the experts. Will you please show me how this is done.
>
>Thanks in advance.

Are you saying that when you try to call the Reset() method of the stopwatch it doesn't work? I just tried it and it worked fine from a subclass I created. Is there some chance you put some code in the Reset method of your subclass and didn't call DODEFAULT()?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform