Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to change back color for entire row when cell is hi
Message
De
12/04/1999 16:24:18
 
 
À
12/04/1999 16:18:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00207568
Message ID:
00207569
Vues:
12
>What do you suggest for code to change back color for ENTIRE ROW when cell is highlighted?


***Grid.Init event
LOCAL cLine
this.parent.grContRecno=-1
cLine="IIF(thisform.cntCmgr.grContRecno=recno('tmpFrmCmgrL1'),65535,16777215)"
this.setall("Dynamicbackcolor",cLine,"column")
***Grid.BeforeRowColChange event
IF used("tmpFrmCmgrL1")
this.parent.grContRecno=recno("tmpFrmCmgrL1")
ENDIF
***Grid.AfterRowColChange event
IF this.parent.grContRecno=recno("tmpFrmCmgrL1")
RETURN
ENDIF
this.parent.grContRecno=recno("tmpFrmCmgrL1")
this.refresh
<\pre>
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform