ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Use a button to select next thumbnail
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Dennis445

12 Posts

Posted - Jul 23 2012 :  09:52:25  Show Profile  Reply
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.

w2m

USA
1990 Posts

Posted - Jul 23 2012 :  11:27:37  Show Profile  Reply
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;


William Miller
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: