>Bindevent is the way to go. ...
I am currently trying to do something similar (the code is currently copied in every grid column). What I don't understand is how to manage lparameters. For example, the Header.MouseDown() method starts with:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
if nshift = 2
...
endif
If I remember correctly, the idea of the framework is to allow sorting on a second, third, ... column by doing a Ctrl-click. How will bindevent() figure out what parameters were passed to Header.MouseDown()?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)