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
 ImageEnMView scroll to top of grid

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
bmesser Posted - May 11 2014 : 03:12:47
I'm building a grid of approximately 10x12 thumnails in a TImageEnMView component. After I fill the grid, because its too big for the screen height, its scrolled to the bottom of the grid and the top is not visible.

Simple question how do I scroll back to the top (0,0)?

No help concerning the ScrollBy command, so my attempt at ScrollBy(0,0) does nothing.

I thought that if I selected the first thumb with SelelectImage(0) that would scroll up automatically but it doesn't.

Bruce.
2   L A T E S T    R E P L I E S    (Newest First)
bmesser Posted - May 11 2014 : 10:19:57
Nigel

That works a treat thank-you.

Bruce.
xequte Posted - May 11 2014 : 03:36:28
Hi Bruce

You can set ViewX/Y:

http://www.imageen.com/help/TImageEnMView.SetViewXY.html


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