this.nrecordnumber = recno() this.setall("dynamicbackcolor", "iif(recno() = this.nrecordnumber, eval('rgb(' + substr(rgbscheme(15, 6), at(',', rgbscheme(15, 6), 3) + 1)), eval('rgb(' + substr(rgbscheme(15, 2), at(',', rgbscheme(15, 2), 3) + 1)))", "Column") this.setall("dynamicforecolor", "iif(recno() = this.nrecordnumber, eval(left(rgbscheme(15, 6), at(',', rgbscheme(15, 6), 3) - 1) + ')'), eval(left(rgbscheme(15, 2), at(',', rgbscheme(15, 2), 3) - 1) + ')'))", "column") this.setAll("dynamicfontbold", ".not. drs.tfnew", "column")and in afterrowcolchange i have,
lparameters ncolindex this.nrecordnumber = recno() this.refreshif i clicked on a cell using a mouse, the backcolor changes (white). how can i retain the backcolor whenever i click on a cell using the mouse? do i need to disable the mouse event? i'm using visual foxpro 6.0