Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active cell loses colour properties on form activate
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Active cell loses colour properties on form activate
Divers
Thread ID:
00949481
Message ID:
00949481
Vues:
60
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform