Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Least Used Features of VFP6
Message
From
02/11/2000 13:25:36
 
 
To
02/11/2000 11:26:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00436759
Message ID:
00437223
Views:
22
John:

>>
I personally haven't used Access & Assign methods or apartment model threading (haven't done anything involving VFP COM with MTS) but I'm sure these features would be touted as the most useful by experts in the community
>>

>
I love Assign! It can be abused in an n-tier environment where a "Set" would be more appropriate, but nothing beats it in components managing themselves. For example, you may have a variety of Form controls enable or disable depending on a certain logical flag. What better place to put the enabling/disabling code than in an Assign for the Form property that tests the value and takes appropriate action?
>

I also use Assign to redirect messages from a container to one of its control. For example, setting the Date property of our calendar class resolves which controls must receive the Highlight and RemoveHishlight messages.

Yesterday's post about Business Entites and Managers are another example where the manager redirects most messages originating to an entity (but I use a Set in this case).


Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform