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 how to keep thumbnail images in a single horizontal row
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
134 Posts

Posted - Sep 19 2022 :  09:27:54  Show Profile  Reply
Hey Nigel,

How do I maintain a horizontal ImageEnMView with a single row of images. When an image is added to end of the row of images, rather than maintaining the single row and possibly going offscreen and invoking the horizontal scrollbar, the last image wraps around making the ImageEnMView consist of two rows. How can ImageEnMView support only horizontal scrolling and maintain a single row of thumbnails. Thanks in advance...

john_siggy@yahoo.com

USA
134 Posts

Posted - Sep 19 2022 :  09:56:00  Show Profile  Reply
by setting ImageEnMView.Gridwidth = ImageEnMView.ImageCount i get a one line height ImageEnMView as desired. Problem is Thumbnails overlap horizontally. How can prevent thumbnails from overlapping ?
Go to Top of Page

xequte

7215 Posts

Posted - Sep 19 2022 :  14:18:08  Show Profile  Reply
Hi

A single row is normally ImageEnMView.GridWidth := 0;

But will create a horizontal scrollbar.

If you use ImageEnMView.GridWidth := -1;

There will be as many rows as can fit horizontally, which can give you a vertical scrollbar.

Your method should work to lock the width to a certain number of images.

Can you send me a screenshot of the overlap issue you are seeing.


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

john_siggy@yahoo.com

USA
134 Posts

Posted - Sep 19 2022 :  15:48:05  Show Profile  Reply
Did I see a right and left pointing arrows at the ends of a single row of thumbnails for navigation ? <[][][][][]>
Go to Top of Page

xequte

7215 Posts

Posted - Sep 20 2022 :  05:20:19  Show Profile  Reply
No, I'm afraid that is not an option at this time. Though it is a good idea for a later update.

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