Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
PeterPanino
Posted - Dec 25 2016 : 14:40:37 When filling a TImageEnMView, for each thumbnail I need to show a standard bottom text with the index number, e.g.: Image 1, Image 2, ...
How can this most efficiently be done? I've tried this, but it does not work at all (no thumbnail bottom text is shown):
Posted - Dec 25 2016 : 15:02:36 I am sorry, this is how it works:
procedure TForm2.ImageEnMView1GetText(Sender: TObject; Index: Integer;
Position: TIEMTextPos; var Text: WideString);
begin
if Position = iemtpBottom then
Text := 'Page ' + IntToStr(Index + 1);
end;
PeterPanino
Posted - Dec 25 2016 : 14:50:32 When I use this code:
procedure TForm2.ImageEnMView1GetText(Sender: TObject; Index: Integer;
Position: TIEMTextPos; var Text: WideString);
begin
Text := 'Page ' + IntToStr(Index);
Position := iemtpBottom;
end;
... then not only the bottom text is added but also TWO other texts at the top of the thumbnails! Why? I have specified Position := iemtpBottom;