Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color for certain records in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01274403
Message ID:
01274420
Vues:
13
Why do you set it in Activate? You can do it in the form's Init.

>>any clue?
>>
>>thanks
>
>In the form's ACTIVATE i use...
>
>
>thisform.grd.SetAll("DynamicBackColor","thisform.zGridColor()", "Column" )
>
>
>And the method zGridColor does the following...
>
>
>cColor = RGB(255,255,255)	 && white
>DO CASE
>	*-----------------------------------------
>	*--- QA REJECTED
>	*-----------------------------------------
>	CASE tmpfcis.qa_reject
>		cColor = RGB(255,128,255)		&& purple
>
>	*-----------------------------------------
>	*--- QA COMPLETE
>	*-----------------------------------------
>	CASE tmpfcis.qacomp
>		cColor = RGB(51,174,57)		&& dark green
>		
>		
>	*-----------------------------------------
>	*--- QA Back To Inspector
>	*-----------------------------------------
>	CASE tmpfcis.qaback
>	
>		cColor = RGB(47,208,208)		&& teal green
>
>	*-----------------------------------------
>	*--- Asset Inventory Not Complete
>	*-----------------------------------------
>	CASE ! tmpfcis.parinvst OR ! tmpfcis.parinvel		
>		cColor = RGB(255,255,128)		&& yellow
>
>ENDCASE
>RETURN cColor
>
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform