>I need to create a class with specific methods in the header of a grid. I can't figure out how do this. I can subclass the grid ok but then I don't have access to the header methods. Any tips?
You can define the clas like this:
define class MyHeader as header
name = 'MyHeader'
procedure Click
wait window 'You clicked the header!'
endproc
enddefine
And the programatically add this class to your columns after removing the standarad header.
By the way, for a very cool way of putting method in grid controls without using lots of these DEFINE CLASSes check out Thread#
377841