On Sat, 5 Jul 1997 16:16:55 +0200 (MET DST) Peter Gerwinski peter@agnes.dida.physik.uni-essen.de wrote:
[...]
I understand this as follows (please correct me if I am wrong):
The object inspector, a development tool, lets you specify values for `published' variables interactively. After that, a copy of the object is stored in a resource file read by the application. Like this, the program can (and will) use an instance of the object with the fields having these values.
Yes, this is more or less the correct analysis.
You can also attach specialized editors for complex properties.
So you can extend this functionality of the object inspector.
Yes, by writing your own "property editor" for your objects or data structures. Delphi's object inspector at the moment only works well with enumerated types, Pascal strings, and numerical types. If your object has properties which are records or pointers or other more complex data structures, you will need to write your own property editor for these structures, otherwise, you cannot "publish" those properties. They will have to be "public".
Best regards, The Chief Dr Abimbola A. Olowofoyeku (The African Chief, and the Great Elephant) Author of: Chief's Installer Pro v3.60 for Win16 and Win32. Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ E-mail: laa12@cc.keele.ac.uk