Hi Erik:
Below are my dynamic color proerties in the INIT of my grid class.
Using ABS() on recno() in the afterrowchange event got it to work. It appears that if recno() and this.currecno are both negative, they will evaluate true in the dynamic color properties regardless of their value. This is obviously not right, is there some evironmental setting or number comparison thing I'm overlooking?
.SETALL('DYNAMICBACKCOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(0,0,128), RGB(255,255,255))', 'COLUMN')
.SETALL('DYNAMICFORECOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(255,255,255), RGB(0,0,0))', 'COLUMN')
Thanx,
Charlie
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only