Print Page | Close Window

Gallery Items

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11602
Printed Date: 20 June 2025 at 11:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Gallery Items
Posted By: Fossil
Subject: Gallery Items
Date Posted: 27 July 2008 at 12:02pm
Hi, is it possible to have multi-line captions for gallery items?  Seems that everything just appends the "..." characters on.

Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 28 July 2008 at 2:47am
Hi,
 
You can try set xtpButtonCaptionAndDescription style for GalleryControl and set DescriptionText for Gallery items.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Fossil
Date Posted: 28 July 2008 at 10:06am
That doesn't seem to work either unless I am missing something.  I have attached a sample.  Thanks. uploads/20080728_100551_Project4.zip - uploads/20080728_100551_Project4.zip

-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 29 July 2008 at 1:34am
Right. you also need to add some image:
 
https://forum.codejock.com/uploads/20080729_013436_ee.zip - uploads/20080729_013436_ee.zip


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Fossil
Date Posted: 29 July 2008 at 9:22am
Ok I see how that makes it work.

However, I have a limited amount of space for each gallery item because I want to create 3 gallery items per row in the gallery and adding in the icon makes me have to change the item width.  Even if I make the icon size 1x1, the space the icon takes up in the gallery item is the same as if it was 32x32.

Thoughts?

Thanks for looking into it.


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0


Posted By: Fossil
Date Posted: 29 July 2008 at 10:27am
I found another way thru the _DrawItem event using API DrawText.  This should work for us, but if there are ways to handle it thru the Gallery itself that would be great as well.



-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net