Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Gallery Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Gallery Items

 Post Reply Post Reply
Author
Message
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post Topic: Gallery Items
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post 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
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 1:34am
Right. you also need to add some image:
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.