Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelectedBackColor in a Grid
Message
 
 
À
30/01/2005 16:12:16
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00982042
Message ID:
00982145
Vues:
25
>Now that I have reread my original question, I realize that I should have been more clear.
>
>Suppose that I want the field in Column 1 to be
>forecolor rgb(255,225,0) and backcolor rgb(255,0,0) when selected
>and then become
>forecolor rgb(0,0,0) and backcolor rgb(255,255,255) when not selected.
>
>And I want the same thing for columns 2,3 and 4.
>
>Is there a way of writing "SetAll" code in the Init to make this happen or does the code have to be written line by line for each column?
>
>I think the solution you have given me has to do with the selected row back colour. Or maybe I have not applied it properly.


Hi Mike,

Yes it's for a row highlite. For a cell check SelectedItemBackColor and SelectedItemForeColor properties of a grid.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform