Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias Not Found
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00315735
Message ID:
00316142
Vues:
25
>>>
>>>The data environment should not display messages to the user since it resides in tier 2.
>>>
>>>Regards,
>>
>>Kevin,
>>
>>I have a question about this strategy. Many methods that I create in bizobjs need to send a message to the user that something is happening. How would that be handled? What if an update fails? There comes a time when the UI cannot be completely separated from the bizobj. For instance: if I am running a scan and doing all kinds of processing, I would want to put up wait windows so the user has an idea of what's going on. The most logical place to do that would be in the method where it is all happening. Do you have any suggestions?
>
>James,
>
>* put this message in for user benefit
>SET MESSAGE TO "Scanning, please wait ..."
>
>Kind Regards,
>
>Mat

Mat,

I believe what Kevin was trying to emphasize was that UI messages should be controlled by the UI and not the business object. At times, however, the most logical place to do that is in the business object, making the separation of the UI and business object somewhat difficult.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform