Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subtle question
Message
From
02/02/1999 22:51:57
 
 
To
02/02/1999 22:13:05
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00182331
Message ID:
00183292
Views:
23
>>>That's a tough call Jim and I agree with your reasons. A full form refresh may have some significant overhead in some situations. But I know your philosophy is 'do it properly, work out performance issues later only if necessary' - or something close to that, right?
>>>
>>>I wonder what others have to say on this. Thanks for the insight.
>>
>>Well, you don't have to refresh the full form... Also, you could create a thisform.color_assign method that checks for your class that displays the color, and if it exists, refresh it...
>>
>>BOb
>
>Hi again Bob,
>I think Jim implied that any firm link between two objects in this way is undesirable, so a form refresh is the go. If I simply refresh the other control then I may as well update the control value rather than the form value.

Just to play devil's advocate- isn't refreshing the entire form overkill for this?

If so, then the logical conclusion would be to refresh the single control that is bound to the form. To refresh that control, you have to know it's name, and that is the same type of object dependency Jim was advising to avoid.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform