Message
From
02/09/2016 06:26:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/09/2016 01:50:10
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01640326
Message ID:
01640392
Views:
76
>>>>Any timers around that could switch work area?
>>>
>>>Yes, there are timers, but it happens too often just between those lines and nowhere else (in this million+ codeline app).
>>>I'm beginning to suspect it is a problem that its at the wrong datasession. Still does not explain why it passes the 1st line without a problem.
>>
>>Well just last week I had a problem where a piece of code would consistently land in the datasession of one of the objects it called, not returning to its own datasession. Happened every time. Then I moved these lines from the init (the whole block containing that call) into a separate method, and then it began working regularly. I had the code repeated, with small changes (aliases, parameter names) to another form, and it still works fine.
>>
>>Dunno why it happened, and dunno what fixed it.
>
>Was there a grid involved?

:)

Yes, of course. The whole thing was a navigational grid, which would then in ARCC select a container to display on the right. This was happening in the init of the container when created.

The funny part is that this is a rather static grid... could have used a listbox as well.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View