[Lazarus] Editor and ObjectInspector

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 10 15:22:33 CET 2013


"Leonardo M. Ramé" <l.rame at griensu.com> hat am 10. Januar 2013 um 14:57
geschrieben:
> Lazarus is really great as is, but it would be even better (for me) if
> the object inspector is updated when the user is editting a file
> associated to an lfm form.
>
> The current behavior is that Object Inspector is updated only when you
> go to Form Editor view, but not when you are in the text editor.
>
> Some times, I need to edit a form property without opening the form. I
> just click an object in the object treeview, then change a property in
> the Object Inspector.
>
> What do you think?.

The Object Inspector uses RTTI.
This means you must have the form loaded to access it. Theoretically the form
does not need to be visible.
Every time you edit the lfm file the form must be destroyed and loaded again
because this is the only guaranteed way to get the correct property values.


Mattias




More information about the Lazarus mailing list