Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-01

Editor and ObjectInspector

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

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?.

Regards,

Reply by email

Mattias Gaertner
to Leonardo M. Ramé

"Leonardo M. Ram?" hat am 10. Januar 2013 um 14:57 geschrieben:

Show quoted text 12 lines
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

Reply by email