1) I have creatd a new Method of oHeaderClick in object Grid
2) In Grid.INIT, add-in:
FOR m.nCount = 1 TO this.ColumnCount
BINDEVENT(this.Columns(m.nCount).header1, "Click", this, "oHeaderClick")
NEXT
3) I have tested it with ??Chr(7) code inside oHeaderClick and works.
??? However, I don't know which Header1 (the column location) that it is clicked. ??? It is not necessary the ActiveColumn also.
Any suggestion ? or use the memberclass method again to distribute the Header1?
2) In Grid.INIT, add-in:
FOR m.nCount = 1 TO this.ColumnCount
BINDEVENT(this.Columns(m.nCount).header1, "Click", this, "oHeaderClick")
NEXT
3) I have tested it with ??Chr(7) code inside oHeaderClick and works.
??? However, I don't know which Header1 (the column location) that it is clicked. ??? It is not necessary the ActiveColumn also.
Any suggestion ? or use the memberclass method again to distribute the Header1?