Delphi classes_(re)

Sat, 5 Jul 1997 20:21:24 +0200



Ken Linder wrote:

> The Object Inspector is a development tool that allows the developer to
> 'non-programaticaly' set the properties of an object before instantiation.
> Here is a quick example:
>
> ...
> published
>    Caption : string;
>    Status  : (Maximized, Minimized, DontKnow);
>    SomeNum : integer;
> ...
> Lets say the above is part of an object that can be 'dragged' onto the
> desired window. (Yes, I know I am talking Windows here)  Selecting the
> object after it is dragged onto the window will make the 'object inspector'
> display all 'published' properties of that object.  The object inspector
> will allow the programmer to enter some string for Caption, select one of
> the enumerated values for Status, and an integer for SomeNum.  At run-time
> the object inspector don't exist.  It is strictly part of the Delphi (and
> C++ builder) development tool.

AFAI understand it, it's just some form of debugger, isn't it? (Typical for
all the Windoze hype to introduce new names for the same old things...?)
I think, changing values of object fields can be done with any debugger.

Anyway, so the difference between "published" and "public" is just relevant
to the debugger, not to the compiled program?
-- 
Frank Heckenbach, Erlangen, Germany
heckenb@mi.uni-erlangen.de
http://www.mi.uni-erlangen.de/~heckenb/links.htm


Frank Heckenbach (heckenb@mi.uni-erlangen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es