Page 1 of 1

TPicShow ShowNext and ShowLast Events

PostPosted: March 3rd, 2012, 12:28 am
by Alexis
Hi , How could we show back the last image ;

Code: Select all
procedure TMainForm.LoadNextImage;   //  this procedure Shows Next Image


But how could we add this :

Code: Select all
procedure TMainForm.LoadLastImage;



thank you

Re: TPicShow ShowNext and ShowLast Events

PostPosted: March 24th, 2012, 2:53 pm
by Kambiz
The LoadNextImage procedure is part of the demo application, not the component.

Your LoadLastImage can be implemented like LoadNextImage. You only need to decrement the index counter in the new procedure.