Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview's node expanded property don't trigger expand e
Message
From
20/09/2001 03:08:17
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00557640
Message ID:
00558620
Views:
16
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.com
ICQ #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.
Previous
Reply
Map
View

Click here to load this message in the networking platform