I wanted Filename, DimAndSize and CreateDate but I get two times the filename. I tried it in a lot of other constellations, all times the same. What have I to change?
Kind Regards
Jens
5 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Apr 06 2017 : 23:08:27 Hi
Yes, unfortunately that also sets ImageBottomText (for historical reasons).
thank you, it was one part of the solution. The other was that I firstly loaded the images AFTER calling SetStyleEx. If I first load the images and than call SetStyleEx it works perfectly.
Kind Regards
Jens
xequte
Posted - Apr 05 2017 : 20:05:20 Hi Jens
I expect you have already set the Bottom text to the filename, so iedtFileCreateDate is ignored.
Try
procedure TMainForm.Button1Click(Sender: TObject);
var
I: Integer;
begin
for I := 0 to ImageEnMView1.ImageCount - 1 do
ImageEnMView1.ImageBottomText[ i ] := '' ;
ImageEnMView1.SetStyleEx(iemsColumns, iedtFileName, iedtImageDimAndSize, iedtFileCreateDate);
end;