Sal, >This will have no effect..
Yep. I read the Hacker's text about .AutoYield too quickly. I mistook appApplication in the "Usage" part for goApp which CM uses. So ignore "if you have an application object" and use _VFP.AutoYield instead.
Jim
-----Original Message----- From: profox-admin .at. leafe .D.OT com [mailto:profox-admin@leafe.com]On Behalf Of Sal Sent: Friday, February 28, 2003 6:35 PM To: profox .at. leafe .D.OT com Subject: RE: AutoYield Property
> if you have an application object, you can > add a property called AutoYield to it.
This will have no effect..
> The application object > presumably has global scope so your forms should see the new > AutoYield property
.. unless the forms check the global application variable and set _VFP.AutoYield accordingly.
Sal
ps does everyone other than me use a global application variable? Is that how Mere Mortals, CodeMine etc work? I really don't like global variables or assuming an application object exists.. and am happy to pass a reference to the application variable around where necessary.
©2003 Jim McKinniss |