Trying to build a class with no property in it
Posted on 2001-07-12
I built a class that I will be accessed from another class (kinda like a record). I wanna start the class from nothing, but Delphi forces it to be a TObject. That would be ok if only there was no properties added to those I make. Is there anyway to make them disapear?
Here's a sample of my code:
Ttest = Class
function pGetProp: Byte;
procedure pSetProp(const Value: Byte);
Property MyProperty: Byte Read pGetProp Write pSetProp;