Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid fonts color
Message
De
05/02/2004 05:00:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00873284
Message ID:
00874344
Vues:
18
Not clear for me:
1. Here is the first code:
with thisform.GrdInvRes
   .RecordSource = "xtabresult"
	   .SetAll( "DynamicForecolor", "thisform.RowColor()", "column" )
	endwith
2. Here is the second column:
local lnColor

do case
   case ...
      lnColor = rgb( 255, 0, 0 )
   case ...
      lnColor = rgb( 0, 255, 0 )
   otherwise
      lnColor = rgb( 0, 0, 0 )
endcase

return lnColor
Here is the problem:
The genxtab column count can be 4, can be 8 and can be 5 etc, and every time with diffrent header names.
How do I speak with grid values?
What need I write in the cases?
case ? = 'aaa'    &&?- grid value
this?=(rgb)250,250,11  &&?-grid header name
Thank you
Chaim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform