Grid column header click methods continued...
I just want to put single line method on each header like
this.parent.parent.setorder(this,this.parent.controlsource)
the setorder method of the grid i have already written. it accepts the header object reference and the control source and checks to see it it can find an index tag for expression matching or containing the control source name. all this is ok.
I would prefer not to have to write a builder ( i havn't done one yet so learning curves...). I you write the code todefine a column class how do you instantiate it at run time within a grid ?
I have found the control.writemethod in the help but cannot work out how you actualy use it. it says only available at design time in which case how can the object have an object reference to use ? I must be missing something here.