Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicForeColor Hangs VFP
Message
 
 
To
18/09/2003 20:25:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00830521
Message ID:
00830538
Views:
19
David,

I'd suspect an infinite loop in whatever code is trying to set the DynamicForeColor. Do you have SET ESCAPE ON and use the escape key to interrupt VFP and go into the debugger and see what code is executing.

>I have a Grid with a cursor as a RecordSource. When the field that controls the DynamicForeColor is changed, either programatically or manually from the control panel, and the ComboBox immediately after the Grid is selected, VFP hangs and I need to shut it down from the operating system. No error message, just no longer responding.
>
>The problem Grid and ComboBox are in a container on a Page on a Form. If after making the change to the controlling field in the RecordSource cursor, a control is selected other than the ComboBox immediately after the problem Grid, everything works fine. If I remove the DynamicForeColor from the Grid, everything works fine. If there is more than one row in the RecordSource cursor and the pointer is moved programatically off the offending row, everything works fine. But if there is only one row, it cannot be moved and so hangs.
>
>This cursor is READWRITE and NOFILTER. The RecordSource = '' while the manipulations are done, and the grid totally rebuilt afterwards to no avail.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform