Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamicbackcolor in a browse Command
Message
De
02/04/2009 12:45:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01392695
Message ID:
01392781
Vues:
41
How about something like
USE myTable
BROWSE NAME oBrowse NOWAIT
oBrowse.setall("dynamicbackcolor","IIF(exp,RGB(x,y,z),RGB(a,b,c))","column")
BROWSE LAST
Update......Just noticed this is same as Tore's but without the formatting


>Hi all,
>
>I want to have a dynamicbackcolor in a browse Command.
>
>it's possible ?
>
>
>#DEFINE ROUGE_LOC    	RGB(255,0,0)
>#DEFINE BRUN_CL_LOC    	RGB(255,128,0)
>
>
>CREATE CURSOR Temp ( Name c(20) , nPrice N(8,4) )
>INSERT INTO Temp "DUPONT jean" , 14 
>
>
>Brows Field Name , nPrice:IIF(  BETW( nPrice , 1 , 9 ) , ROUGE_LOC     ,  BRUN_CL_LOC     )
>
>
>
>
>Thank in advance
>
>BHT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform