Hi All,
I found a new 'feature' using the new memberclass property with a grid.
Scenario:
A prg based column class like
DEFINE CLASS myColumn AS Column
somnew prop = ''
...
enddef
I set the memberclass and memberclasslibrary props to the new class.
At runntime I set columncount from 0 to whatever I need.
The class is correctly instantieded with one little problem
The "CLASS" property of the column shows 'COLUMN' instead of 'myColumn'.
This is normaly not a big deal - but I have a variety of columns classes.
Sometimes I like to change those columns with something like.
SETALL("DynamicBackColor",'','myClass')
SETALL("DynamicBackColor",Value,'myOtherClass')
For now I switch back to the grid.NEWOBJECT method to add columns to my grid.
But this not what I have dreamed off ...
O.k. this might be special to me because I allways handle my grids the like and people which never changed a grid's column class with versions below 8.0 may run in the same problem from the other end when 'CLASS' would have the correct value. This why I guess this is a 'feature'. But where I get the right classname? Sometimes I use it for debug informations ... ::(
Agnes
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]