Skip to content

se-looper/inspector-fmx

Repository files navigation

inspector-fmx

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

构造示例:

  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);

调用示例:

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

效果图:

inspector screenshot

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages