Sign in Join

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

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

inspector-fmx

FMX下通用可扩展的属性编辑器

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

inspector-fmx

FMX下通用可扩展的属性编辑器

构造示例:

delphi
  FEditorInspector:= TEditorInspector.Create(lytLeft);
  FEditorInspector.Parent:= lytLeft;
  FEditorInspector.Align:= TAlignLayout.Client;
  FEditorInspector.Images:= ImageList1;
  //custom
  FEditorInspector.RegisterPropEditor('Boolean', TBooleanPropEditor);
  FEditorInspector.RegisterPropEditor('TAColor', TAColorPropEditor);
  FEditorInspector.RegisterPropEditor('TImageFileName', TImageFilePropEditor);
  FEditorInspector.RegisterPropEditor('TStringListText', TStringListTextPropEditor);
  FEditorInspector.RegisterPropEditor('TActionName', TActionNamePropEditor);

调用示例:

delphi
procedure TMainFrm.pbxRendererMouseLeave(Sender: TObject);
begin
  FEditorInspector.Select(Sender);
end;

效果图:

inspector screenshot