>>LOCAL lcOrder >> lcOrder = SET('order') && Save current tag >> THIS.SetOrder(m.loCalledBy.PARENT.CONTROLSOURCE) >> IF this.lShowSortingArrows AND NOT SET('order')== m.lcOrder>>
IF THIS.lShowSortingArrows * Check, if we changed the order IF NOT ORDER(m.lcRecSource)== m.lcOrder OR m.llDirection <> THIS.lAscending ** Clear the picture of the previously sorted column THIS.ClearHeaderPictures() THIS.SetHeaderPicture(m.loCalledBy) ENDIF ENDIFSetting lShowSortingArrows to .f. gets rid of HourGlass problem. I changed my ClearHeaderPictures method to use object reference rather than loop through all columns, but it seems to me that it made the situation even worse. May be the problem lies in passing object reference between methods?