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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnFolderMView with pagination

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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).

Thank you
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 16 2014 : 20:34:29
Hi

You could also do:

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


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
giancarlo 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.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com