Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting a column in a grid
Message
De
13/07/2001 11:28:03
 
 
À
13/07/2001 08:24:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00528362
Message ID:
00530295
Vues:
21
>Hi Trey.
>
>>> Try this: <<
>
>That's an awful lot of code < g >. This, in the grid's init works just fine:
>
>
>FOR EACH COLUMN IN This.Columns
>  IF loColumn % 2 = 0
>    loColumn.ForeColor = RGB( 0, 0, 128 )
>    loColumn.BackColor = RGB( 0, 255, 255 )
>  ENDIF
>ENDFOR
>
>
>Marcia

Yes, but then the colors aren't dynamic.
With my code, when you move columns around (even columns added on the fly - which I was under the assumption Julian was after), the columns are always alternating blue/white.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform