Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LWriteBuffer property in cBizObjForm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00689406
Message ID:
00689526
Vues:
29
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>there is a lWriteBuffer property in the cBizObjForm. The WriteBuffer() method checks this property. If it's .F. (default) it bails out immediately. In every command button of the standard toolbar there is code that sets this flag to .T. calls the save, new or whatever method and sets the flag back.
>
>I understand that there is no need to do the WriteBuffer stuff when Save is called from a button on the form, for example. But was it the only intention to avoid the execution of the WriteBuffer stuff in these cases?
>
>Has anyone any ideas?
>
>Thanks,
>Armin

I think that was the intention. There isn't much reason to run the code unless you've clicked on a toolbar button. You could (possibly) even introduce bugs if it ran again because the code, in those cases, forces the buffer to be updated a second time after events like Valid have fired.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform