>>I haven't gotten the blessing from the users yet, though.
>
>If you dont', just throw this in the headers:
>
>
nWhere = 0
>this.Parent.Parent.GridHitTest(MCOL(MWINDOW(), 3), MROW(MWINDOW(), 3), @nWhere)
>IF INLIST(nWhere, 2, 13)
> RETURN
>ENDIF
>
>* Rest of click code goes here for sorting
>
>Doesn't help much for movable though. In that case, you'll want to use one of the other techniques mentioned.
Right. That'll be the problem. And the menu is so much more straighforward. Simpler is good when possible. My 02 USD. But thanks for the tips, for sure.
>Users can sort my grids by both clicking on the header (it sorts, and then sorts ascending or descending for all sub sequent clicks),
Yep. Same as mine.
> and right clicking for a context menu like you say, but mine shows them "Sort Asecnding" and "Sort Descending" and putting a check mark by the correct one if the column is already sorted.
Yep, that would be a nice addition. I'd also like to give them the option of which column they'd like to sort by, with the default being the column they selected. But that'll have to be another day, and so far it's only idea. Dunno how useful the users would actually find it.