>Thanks Cetin, I've got one more question, hopefully there's a quick solution:)
>I currently have a grid in which I have non-visually created in the grid init. Setting properties is not a problem. However, I'm trying to program the headers .click events with the following code:
>
>******
>private chrParams
>
>chrParams = "chrHeader=[" + upper( alltrim( this.caption ) ) + "]"
>thisform.m_Change_Order( chrParams ) &&changes order on the grid
>return
>******
>
>Is there an easy way to accomplish this?
Hmm. Using a form method is not good for a grid (as you want to use that on ahother form then that form should have that method too). Better it could be proc of grid itself. Anyway, for changing headers, removeobject("Header1"), addobject("Header1","myHeader"). The above code is myHeader.click code, true ?
Check multiselect grid class. It does very similar (click to change order and show active column with a yellow background as I remember). It should also have a few test.prg to show effects.
Cetin