Hi Valentin,
You cant do this with Parameters. What you can do is to bind the same Method on each header click and do something like
if AEVENTS(laEvents,0)>0 THEN
loHeader = laEvents(1,1).Name
endif
to get an reference to the Header clicked.
HTH
Agnes
>Hi Everyone,
>
>Is there a way on how to pass a parameter to the bindevents()?
>
>What I am trying to do is that I have a grid where the number of columns are variable. The number of columns in the grid is to be determined at run-time.
>What I would like to do is that everytime the user clicks on the Header column, it will trigger my own method and pass the header name or column name to my bind method.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]