Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Restore scroll values for TImageEnVect
New Topic
Reply to Topic
Author
Topic
AndyColmes
USA
351 Posts
Posted - May 04 2014 : 12:15:22
I need to be able to restore the scroll positions of a TImageEnVect when I replace the image. At the moment, the image view goes to the top after the image is replaced. How would I do this efficiently?
Thanks in advance.
w2m
USA
1990 Posts
Posted - May 04 2014 : 13:17:57
Try saving the ImageEnVect1.ViewX and ImageEnVect1.ViewY values to a variable and then reset the view values after you replace the image.
William Miller
Adirondack Software & Graphics
Email:
w2m@frontiernet.net
EBook:
http://www.imageen.com/ebook/
Apprehend:
http://www.frontiernet.net/~w2m/index.html
Custom Commercial ImageEn Development
AndyColmes
USA
351 Posts
Posted - May 04 2014 : 15:07:17
Thanks William, but somehow it doesn't seem to work. It still goes back up to the top.
AndyColmes
USA
351 Posts
Posted - May 04 2014 : 15:26:58
My error. It does work like a charm. Thanks William.
w2m
USA
1990 Posts
Posted - May 04 2014 : 15:29:35
Are you resampling, resizing or cropping the new image before it is loaded? Is the new image the same size as the image being replaced?
I guess you will have to post some code to show what you are trying to do as I have no idea what you are really trying to accomplish.
William Miller
Adirondack Software & Graphics
Email:
w2m@frontiernet.net
EBook:
http://www.imageen.com/ebook/
Apprehend:
http://www.frontiernet.net/~w2m/index.html
Custom Commercial ImageEn Development
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page