TPicShow ShowNext and ShowLast Events

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TPicShow ShowNext and ShowLast Events

Postby Alexis » March 3rd, 2012, 12:28 am

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
Alexis
Member
Member
 
Posts: 3
Joined: March 3rd, 2012, 12:18 am

Re: TPicShow ShowNext and ShowLast Events

Postby Kambiz » March 24th, 2012, 2:53 pm

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.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron