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
 ImageEnMView scroll to top of grid
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
222 Posts

Posted - May 11 2014 :  03:12:47  Show Profile  Reply
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.

xequte

38514 Posts

Posted - May 11 2014 :  03:36:28  Show Profile  Reply
Hi Bruce

You can set ViewX/Y:

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


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

bmesser

United Kingdom
222 Posts

Posted - May 11 2014 :  10:19:57  Show Profile  Reply
Nigel

That works a treat thank-you.

Bruce.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: