Choosing what is visible or not is done in LvFormatSelectItem:
Code: Select all
Includemov.Visible := Selected and (Item.Index in [ToHTML, ToCSV, ToSQL, ToOrigons, ToImages]);
Sortby.Visible := Selected and (Item.Index in [ToHTML, ToCSV, ToSQL, ToOrigons]);
grpImages.Visible := Selected and (Item.Index in [ToHTML, ToCSV, ToSQL, ToXML]);
Except if you added your new format in these sets [To..., To...] by default the groupbox should not appear

Or maybe you modified order of items of the list or removed/modified some? If so you should update the "To..." constants to reflect the contents of the list:
Code: Select all
ToHTML = 0;
ToCSV = 1;
ToSQL = 2;
ToImages = 3;
ToOrigons = 4;
ToXML = 5;
The Sort is done automatically if the groupbox is visible, search for the following lines:
Code: Select all
if Sortby.Visible then
SortBy.Sort(MovieList);
in btn3Click.
So if the groupbox is visible, it should work automatically.
For the image checkboxes, you just have to see if the boxes are checked or not, and if they are process the pictures.
It is hard to explain, if you check the ExportHTML function it reads the status of these:
Code: Select all
ExportPic := CBCopyPictures.Checked;
OnlyNewPic := CBCopyPicturesNew.Checked;
Then later in the function depending on the value of these two variables it writes all images to output folder. See the ReplaceTagsMovie function (called by ExportHTML), where it uses ExportPic parameter.