Guys,
I have the following:
PropertySorter = Class(TypeConverter)
Public
constructor Create;
Function GetPropertiesSupported(context: ITypeDescriptorContext): Boolean; override;
Function GetProperties(context: ITypeDescriptorContext; value: Tobject; attributes: Attribute): PropertyDescriptorCollection; override;
End;
Which should be OK if you read the manual, online material, even samples done in C#, but I still get the compiler error under Delphi 2005 Net:
[Error] OrderedPropertyGrid.pas(33): E2137 Method 'GetProperties' not found in base class
Note: The GetPropertiesSupported not only compiles correctly but also work as described.
Any idea what I can do to have the PropertyGrid call my GetProterties and not its own.
Bjarne \v/
Bjarne's
_______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

