I have a rather unique problem. I want to define a published property for a
component that i am developing. This property is a property array. Check
out the following e.g.
property AProperty[ARow,ACol: Integer] : String read GetAProperty write
The property is pointing to a variable like -
FAProperty : array[0..100,0..2] of String;
Now the problem is that nowhere does Delphi say that this kind of property
can be defined only in the public section of the class definition. This i
have found out my banging my head for 2 continuous days and stumbling on
it. If u define it say for example in a published section of a class
definition then it will compile and build the library but when u are trying
to drop the component on a form, it will give u a access violation.
Now i need this property very badly in the published section because i want
to store data that is multi-dimentional. How do i do it ?. Can u help me
out ?. I need this very soon. Please do reply.
FOR JIM BOB
Yes I need a sample code on how to do this. It will be of great help. Thanks a lot.