>>>I want to add the property "ID" to a HEADER object in a GRID or button object from a RADIO BUTTON or buttom object from a COMMAND GROUP.
>>>
>>>I seem it's possible with VCXEDITOR but I don't know how I can do it.
>>>
>>>Thanks in advance
>>>
>>>Stephan
>>
>>I have never tried this, but assume that you can define your own header class programmatically, adding new property 'ID' into definition. Then, in run-time, you should remove standard header (RemoveObject) from grid.column, and add (AddObject) new header from new class.
>>Unfortunately, you cannot add any additional objects to a header, because this is not container.
>
>BTW, Erik Moore wrote excellent example in parallel thread "Subclassed grid members".
Michel- a custom property can be added to a custom header class with syntax similar to the following
DEFINE CLASS MyHeader AS Header
mycustomproperty
mycustomproperty2 = "Initial value" && Gives property a default value
ENDDEFINE
Erik Moore
Clientelligence