Hi!
AutoYield affects a lot of things in the application. When it is .F., for example, long code will not be able to display status until code finished, because any changes to VFP controls will not be re-draw immediately after change (only DOEVENTS command can help to force this, but it also does a lot of other things, like firing timer events and button clicks). For ActiveX controls processing of Windows events between code lines might cause unpredictable results, thus it is recommended to switch it off.
Yes, it is good idea to use AutoYield=.F. for entire application and switch it on only for certain code fragments temporarily. This speeds up code running, bug affects a moment when changes to control properteis are displayed.
>Hi
>
>autoyield is .t., I set to .f. and works!!!
>There is any problem if I set this property on init?
>
>TIA
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.