>When resizing a column in a cGridList grid with sortable columns, the act of resizing the column with the mouse fires the grid column header's click() method which results in the column being resorted. Does anyone know how to allow resizing the column without firing the header.click()?
You can use a flag. Create a property called something like No_Sort_Please, and put this line of code in a column's Moved() and Resize() events,
This.parent.No_Sort_Please = .T.
Then in the Header Click, put code like this at the beginning:
IF This.Parent.Parent.No_Sort_Please
This.Parent.Parent.No_Sort_Please = .F.
RETURN
ENDIF
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.