> When I use ActivateCell in my grid, the cell goes into an edit mode. When
> I UP Arrow from there it highlights the cell above without being in an edit
> mode. This is what I prefer. Right now I ActivateCell to the cell 1 below
> the one I want, then do KEYBOARD '{UP ARROW}' to achieve my desired affect.
> Can someone please tell me how I might accomplish this selected state
> directly from the ActivateCell method? My work-around looks a little odd
Check out the DynamicBackColor and DynamicForeColor properties. You can
set a property on the class or form that contains the record number
(it'll be up to you to update the record number), and then have the
following code in your grid.init method:
this.setall('DynamicBackColor','iif(thisform.recno=recno(),rgb(0,0,128),rgb(255,255,255))','Column')
this.setall('DynamicForeColor','iif(thisform.recno=recno(),rgb(255,255,255),rgb(0,0,0))','Column')
/Paul