Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox.Controlsource + check for changes
Message
From
27/02/2003 13:16:01
 
 
To
27/02/2003 11:35:06
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00758093
Message ID:
00758912
Views:
23
>>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

Previous
Reply
Map
View

Click here to load this message in the networking platform