>
> Setting a different order on a grid from header1.click works ok, but I
> have a different problem: for compatibility reasons I want to emulate
> the following behaviour:
> - a record in the middle of a grid is selected
> - keypress of tab is received
> - order changes to the next available tag
> It works already, BUT: the selected record vanishes; the record which
> didn't move is the topmost visible record, and not the selected record.
> I've even forcibly refreshed the grid after reordering, but to no avail.
Bloody annoying, isn't it?
Here's the code:
m.lnRecno = iif(eof(),0,recno())
set order to tag {newtag}
thisgrid.refresh && fill in 'thisgrid' with the right hierarchy
goto m.lnRecno
/Paul