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 Area Hidden Behind Scrollbar(s)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
138 Posts

Posted - Apr 17 2018 :  10:33:41  Show Profile  Reply
Writing a routine to allow dragging lower right corner of a thumbnail to resize thumbnails. Need to figure out area hidden behind Scroll Bar(s):

In this example, about half the thumbnail Image is Showing. How much is hidden is the question.

[<--------- ThumbNail Image -------->]
[<--------- ImageenMView] ---------->]

[<---- ?? Area ---->]


Cheers,

John

john_siggy@yahoo.com

USA
138 Posts

Posted - Apr 17 2018 :  10:38:49  Show Profile  Reply
Corrected Illustration of half hidden Thumbnail Image:

[<--------- ThumbNail Image -------->]
....................[<--------- ImageenMView] ---------->]

[<---- ?? Area ---->]

Go to Top of Page

xequte

38176 Posts

Posted - Apr 18 2018 :  16:18:24  Show Profile  Reply
Hi John

Sorry, I didn't really understand your image. If you are looking for the width of the scrollbar, you can check if it is visible using CurrentScrollBars, and if so its width will be the standard scrollbar width:

https://www.imageen.com/help/TImageEnMView.CurrentScrollBars.html

If that's not what you mean, perhaps see:

https://www.imageen.com/help/TImageEnMView.ThumbSizeInfo.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

john_siggy@yahoo.com

USA
138 Posts

Posted - Apr 20 2018 :  15:42:28  Show Profile  Reply
Attached please find a picture of an ImageenMView with 2 thumbnail images (sorry it's a bit confusing). Both thumbnails are partially hidden offscreen on the Y axis. Interested in the length of the Right side of the thumbnails ???

Go to Top of Page

xequte

38176 Posts

Posted - Apr 22 2018 :  20:19:09  Show Profile  Reply
The algorithm would be (assumes ietxCenterThumbnailColumn is not being used):
rightSpace := ImageEnMView.ClientWidth - ImageEnMView.ThumbSizeInfo( itsCell ).X * ImageEnMView.CalcGridWidth();


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: