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
giancarlo
Posted - Oct 23 2014 : 02:03:52 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).
Posted - Nov 11 2014 : 01:31:35 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
xequte
Posted - Oct 23 2014 : 23:09:45 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.