Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Cell Border Colour
Message
De
12/06/2006 13:07:02
 
 
À
11/06/2006 12:27:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01128329
Message ID:
01128477
Vues:
36
Hi Malcolm. Thanks for the ideas. Is there no way in VFP to specify the border colour of a particular grid cell? It seems like a logical thing to be able to do.


>Jos,
>
>Untested ideas:
>
>1. A transparent shape with your custom border color positioned above your cell. Your shape would have to pass through mouseclicks and mouseenter/mouseleave events to the cell beneath it. And it would have to be synchronized with grid scrolling.
>
>- or -
>
>2. Have the gotfocus/lostfocus events of your column object set/clear the column object's border color. You might be able to do this by hijacking one of the Dynamic* grid properties to do this so that only the selected record's border get's set to a different color?
>
>Malcolm
>
>>I use Grid.Column.DynamicBackColor to change colour of the cell background under certain conditions. This works fine. How would one dynamically change only the colour of the cell border instead? Any clever tricks?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform