Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to change back color for entire row when cell is hi
Message
From
12/04/1999 16:24:18
 
 
To
12/04/1999 16:18:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00207568
Message ID:
00207569
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform