* Grid.custombkcolor >>lparameters someparam >>do case >> case blahblah >> return rgb(...) >>endcaseCetin
* grid has two custom properties initialized to 0 * Grid.init this.setall("DynamicBackColor", ; "iif(recno(this.recordsource) = this.customactiverec,"+; "rgb(0,0,255),"+; "iif(recno(this.recordsource) = this.customcurrec,"+; "rgb(255,0,0),rgb(255,255,255)))","Column") * Grid.BRCC LPARAMETERS nColIndex thisform.LockScreen = .T. *grid.arcc LPARAMETERS nColIndex this.customcurrec = recno(this.recordsource) thisform.LockScreen = .F. *Grid.when this.customactiverec = recno(this.recordsource) this.customcurrec = recno(this.recordsource)Cetin