Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active cell loses colour properties on form activate
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Active cell loses colour properties on form activate
Miscellaneous
Thread ID:
00949481
Message ID:
00949481
Views:
58
Hi All,

I am having a problem with grid colours.

I am specifying the BackColor and ForeColor properties from a button click, then when a person clicks on another form and clicks back to the form with the grid, the active cell on the grid loses its colour properties. I have tried updating the DynamicBackColor and DynamicForeColor properties, and tried checking on the colour properties during runtime using the debugger. I have also tried using MouseOver events with a wait window to check the colour properties. Everything that I have tried says that the colour properties are correct.

So far, I have noticed that it occurs after the grid refresh when the form is re-activated. Unfortunately, this is the last event that occurs on the form before the colours go wrong.

In VFP6, this occurs on standard textbox controls, on VFP7, it only occurs when the grid uses a custom textbox in the columns which is required.

I have a sample in VFP6 and VFP7 if anyone wants me to email it to them.

Also, VFP6 and VFP7 have got the latest updates installed.

Thanks for any help in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform