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
Dennis445
Posted - Jul 23 2012 : 09:52:25 Another question.
I have an imageenmview on a seperate tab on my main tab I have an imageenview component and 2 buttons how can I use these buttons to advance to the next thumbnail or previous thumbnail?
I think I have to use imageenmview.selectedimage but not 100% sure.
Thanks in advance.
1 L A T E S T R E P L I E S (Newest First)
w2m
Posted - Jul 23 2012 : 11:27:37 Yes. Use SelectedImage....
procedure TForm1.Previous1Click(Sender: TObject);
begin
ImageEnMView1.SelectedImage := ImageEnMView1.SelectedImage - 1;
end;
procedure TForm1.Next1Click(Sender: TObject);
begin
ImageEnMView1.SelectedImage := ImageEnMView1.SelectedImage + 1;
end;