Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LWriteBuffer property in cBizObjForm
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00689406
Message ID:
00689526
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform