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

You can email VFP7 code to me. Make sure that you zip it up with password and include the password in the email. Otherwise it may be rejected by anti-virus email filter.

>
>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.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform