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
 ImageEnFolderMView with pagination
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

giancarlo

Italy
65 Posts

Posted - Oct 23 2014 :  02:03:52  Show Profile  Reply
Hello,
how can I use the ImageEnFolderMView with pagination buttons?
I'm writing a kiosk software where i cant have a mouse to scroll the thumbnail list, so i would like to use 2 buttons (up/down) to navigate through pictures (example 9 thumb for page).

Thank you

xequte

39142 Posts

Posted - Oct 23 2014 :  23:09:45  Show Profile  Reply
Hi

There is not an internal method for this, but you could do it fairly easily yourself. Just fill your own file list into a TStringList object and add as many files to a TImageEnMView as can fit on screen. If the user clicks next, increment your current position by the image count and refill the TImageEnMView. Do the reverse if they click back.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

giancarlo

Italy
65 Posts

Posted - Nov 11 2014 :  01:31:35  Show Profile  Reply
I have found an alternative solution sending the PageUP & PageDown event to the ImageEnFolderMView... as:

ImageEnFolderMViewLISTA.Perform(WM_KEYDOWN,VK_PRIOR,0); //page up

ImageEnFolderMViewLISTA.Perform(WM_KEYDOWN,VK_NEXT,0); //page Down

tnx
Go to Top of Page

xequte

39142 Posts

Posted - Nov 16 2014 :  20:34:29  Show Profile  Reply
Hi

You could also do:

ImageEnMView1.ViewY := ImageEnMView1.ViewY + ImageEnMView1.ClientHeight;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: