Giuliano Colla wroteIf I remember well, Lazreport does something of this sort. Worth giving a look.
Giuliano
Indeed.
I had a look...
I copy here the uses section of the Object Inspector unit:
// IMPORTANT: the object inspector is a tool and can be used in other programs
// too. Don't put Lazarus IDE specific things here.
If you look at the above 'Important' warning and then look below:
// RTL / FCL
SysUtils, Types, Classes, TypInfo, math, FPCanvas,
// LCL
InterfaceBase, LCLType, LCLIntf, Forms, Buttons, Graphics, GraphType,
StdCtrls,
Controls, ComCtrls, ExtCtrls, Menus, Dialogs, Themes, LMessages, LCLProc,
// LazControls
{$IFnDEF UseOINormalCheckBox} CheckBoxThemed, {$ENDIF}
TreeFilterEdit, ListFilterEdit,
// LazUtils
LazConfigStorage, LazLoggerBase,
// IdeIntf
IDEImagesIntf, IDEHelpIntf, ObjInspStrConsts,
PropEdits, PropEditUtils, ComponentTreeView, OIFavoriteProperties,
ListViewPropEdit, ImageListEditor, ComponentEditors, ChangeParentDlg;
Everything below "IdeIntf" seems quite "Lazarus IDE specific" to me. So the 'Important' warning can be removed, it is useless.
So using the object inspector is already out.
Well, I got an answer to my question :-)
Michael.
Show quoted text 18 lines
Inviato da iPhone
> Il giorno 07 set 2016, alle ore 22:23, Michael Van Canneyt ha scritto:
>
>
>
> Hi,
>
> Can the IDE's object inspector be used independent of the IDE ?
>
> I need to create a report designer, and it would save me a lot of work if I
> could re-use the IDE's object inspector. So before I dive in the code, I
> thought I'd ask here first. Maybe someone has already attempted such a
> thing.
>
> As an alternative: can the RTTI property grid be used on a list of objects ?
> Last time I worked with it, it could only handle 1 object at a time.
Show quoted text 13 lines