ImageEn, unit iexMetaHelpers

TListViewHelper.NewListForExif

TListViewHelper.NewListForExif


Declaration

procedure NewListForExif;


Description

Set up a TListView for specifying values for EXIF fields (e.g. to a file without EXIF fields presently).
Two columns will be added with the left one containing property descriptions (using EXIF_FieldDescription) and the right blank for field entry. The headings will read "Name" and "Value".

Notes:
- A standard TListView does not permit editing of subitems, so either download a TListView descendent that allows editing, or search for code snippets for "Edit Subitems TListView"
- You may wish to call InitializeList before NewListForExif to automatically assign the optimal layout to the TListView


Example

// Display a TListView allowing user to add EXIF data
procedure TExifForm.FormCreate(Sender: TObject);
begin
  // Fix List layout
  MyExifListView.InitializeList;

  // Add fields to List
  MyExifListView.NewListForExif;
end;