Hi,
Why is gdPicture suggesting "Application.AutoYield = .F.". It was suggested in the sample with no explanation why. What are the behaviors this setting fixes?
Thanks, Stanley
VFP9 Application.AutoYield = .F.
Re: VFP9 Application.AutoYield = .F.
Hello,
This is a typical vfp coding recommendation when dealing with ActiveX controls.
With best regards,
Loïc Carrère
This is a typical vfp coding recommendation when dealing with ActiveX controls.
More info: http://msdn.microsoft.com/en-us/library ... s.71).aspxThe AutoYield property should be set to false (.F.) when a form contains an ActiveX control. Setting AutoYield to false (.F.) prevents events for an ActiveX control from executing between lines of user program code. For example, if AutoYield is set to true (.T.), clicking an ActiveX control while user program code is executing may cause an event for the ActiveX control to execute, ignoring the user program code for the event, producing undesirable or unpredictable results.
With best regards,
Loïc Carrère
Re: VFP9 Application.AutoYield = .F.
Thanks Loic,
Glad to here that it is not anything specific to gdPicture! I was already aware of how to run activeX controls in VFP, as I have to deal with that with Leadtools. If behavior is same as other activeX controls, then great...
Thanks, Stanley
Glad to here that it is not anything specific to gdPicture! I was already aware of how to run activeX controls in VFP, as I have to deal with that with Leadtools. If behavior is same as other activeX controls, then great...
Thanks, Stanley
Who is online
Users browsing this forum: No registered users and 1 guest