Skip to content

Component Editor (VCL)

Carlo Barazzetta edited this page May 24, 2020 · 8 revisions

Advanced Component Editor (VCL)

You can set SVGIconImageList properties using the classic Delphi Object inspector, in combination with the collection editor and the Structure editor, but it's most simple to use the advanced Image Editor supplied: double-click to the component to open the component editor as you can do with any Delphi component.

Operations

In this figure you can see the advanced component editor for VCL version: https://github.com/EtheaDev/SVGIconImageList/blob/master/Demo/Images/ComponentEditor.jpg

At the top of the editor you can set the properties of your SVGIconImageList instance, like Size (Width and Height), Opacity and StoreAsText.

At the center of the editor you can see a preview of the icons in the collection. Selecting an icon you can see the SVGIconItem properties like IconName and SVGText.

Using the central splitter you can resize the SVGText Memo.

Load multiple Icons from files

In this editor you can also Load multiple Icons using the "Add..." Button.

In the OpenDialog, select multiple-files and import them into the ImageList: the icon names is set with the filename.

Move Icons

Using Drag-and-Drop, you can move icons prom a position to another...

Delete or Replace Icons

Use "Delete" button to delete the selected Icon, or use "Replace" button to replace with another file.

Export icons to file

Using "Export" button you can save a bitmap with all the icons of the ImageList, if you want to use them with a normal ImageList or for other scopes.

Clone this wiki locally