Also, I pointed the MemberClass and HeaderClass properties to my in-code custom classes as you suggest, but when I increase the grid's ColumnCount my classes aren't used.
Is there something else that needs to be done?
>Aha. I was looking for them visually.
>
>Is there a similar way to specify the base class to use for the column's Textbox?
>
>Thanks.
>
>
>
>>
I don't find a column class or a header class in the VFP base classes. >>
>>They are still there, you still have to define them in a .prg. In the .prg, you can do something like this:
>>
>>
>>DEFINE CLASS colCustom AS Column
>> Name = "Colcustom"
>> HeaderClass = "hdrSortGrid"
>> HeaderClassLibrary = "GridMembers.prg"
>>ENDDEFINE
>>
>>DEFINE CLASS hdrSortGrid AS Header
>> Name = "hdrCustom"
>> Caption = ""
>> FontBold = .T.
>> PROCEDURE Click
>> This.Parent.Parent.SortGrid( This.Parent )
>> ENDPROC
>>ENDDEFINE
>>
>>
>>Then you specify colCustom as the memberClass of the grid and GridMembers.prg as its MemberClassLibrary.