Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox.Controlsource + check for changes
Message
De
27/02/2003 13:16:01
 
 
À
27/02/2003 11:35:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00758093
Message ID:
00758912
Vues:
37
>>I don´t understand anything !!!
>>
>>What method fired?
>>
>All of it !! there is no problem here !!

I read this one in Advanced OOP Book by Markus Egger

"Creating your own set of classes makes it possible to make system-wide changes within a matter of minutes. Let's assume you discovered a bug that influences your whole system. I just had such a bug. I used the InteractiveChange and the ProgrammaticChange events to discover record pointer movement and other changes in text fields. However, sometimes this event wouldn't fire, so I added an assign method for the Value property in my textbox base class that fired an OnChange() method. I basically created my own system-wide event that would fire whenever the Value property changed. This helped to resolve a problem that had us hooked for months. After making this change (which took me only a couple of minutes), I was able to remove about 50 items from our bug-tracking system. I could do this only because I had created my own "top-level" entry point."

Thanks for your time.
José Luis.

Quidquid latine dictum sit, altum sonatur

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform