Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A/A Qs
Message
From
15/01/2000 10:18:01
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Re: A/A Qs
Miscellaneous
Thread ID:
00316635
Message ID:
00318554
Views:
26
>Thanks for looking at this. I'm trying to see what I'm missing about this. This is my simple test, and yes there was a sneeky refresh in my navigation button class:)

Looks like I am guilty of the same test pollution: I started again with all base classes, and subclassed the textbox to contain only a Value_Assign method, and get the same results as you. Looks like I have some egg on my face... once I got the test laid out right though, I found some other interesting results- the Value_Assign method fired thrice when the form started, and I would've expected only once- you get this? Also, checkboxes, editboxes and textboxes fire their value_Assign methods on control.GotFocus.

None of this however, changes my viewpoint on the value of Value_Assign methods though- now that we have confirmed that it fires on control.Refresh(), only confirms that we have a new place to put code that we could have previously placed in the refresh method without all of the unexpected event firing.

Thanks for pushing me to test these assertions...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform