Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why cannot use & with Thisform.SomeProperty
Message
From
06/05/2009 09:07:28
 
 
To
06/05/2009 08:44:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01397844
Message ID:
01398103
Views:
74
Hi Agnes aus Berlin,

What I'm saying is that certain 'things' can change the selected workarea. eg clicking in a grid changes the work area to the grid's recordSource

It doesn't have to be a 'sequence' of lines - the replace can be on (in) a command button

Even with autoyield off, certain commands force the processing of window events (eg a mouse click) - DoEvents is one of them (not sure about inkey(), but I bet it does)

I remember putting DoEvents somewhere in my code - and when the user typed/clicked too fast - the program went crazy

I'm not saying you have had problems - but ommitting the IN can - one day - give a problem, that may be hard to debug and/or reproduce

Like I said
>>Better safe than sorry



>Hi Gregory,
>
>I'm not sure about timer events - but one should not use it anyway. <g>
>A code sequence SELECT REPLACE in subsequent lines should not create IDLE. At least thats the sence of autoyield=.F.
>
>I never had problems here, and I do a lot coding inside grids.
>For what I remember there where problems with IN and the current workarea at EOF too. I'm not shure if this is solved in some version.
>
>Agnes
>>>
>>> _VFP.AutoYield = .F. and nothing will trouble exeqution sequnece. ::)
>>>
>>>Agnes
>>
>>
>>Not really, Agnes
>>
>>Timers, DoEvents, Foxpro deciding it has an idle state (which processes pending windows events like mouse clicks) may change the current work area
>>You may have a programming error
>>
>>Better safe than sorry
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform