Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to show the selected Gallery Item?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to show the selected Gallery Item?

 Post Reply Post Reply
Author
Message
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Topic: How to show the selected Gallery Item?
    Posted: 07 January 2010 at 9:07pm
Hi,

I have a Gallery with lots of 16x16 images, and I want to show the selected item in the ToolBar, replacing the original button icon. Is this possible?

Thanks
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2010 at 11:10pm
Hello Carlos,

Just to confirm, what you are wanting to do is is that by selecting a gallery item the app will replace the image in the original button?

I had a similar problem but I wasn't using a gallery. The solution to my problem was to use the actions method of the command bars and having change whenever that particular event occurs.

Does that help any? If not, drop me another line and I'll try & see what we can work out with this issue.
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6
Back to Top
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2010 at 12:43pm
Thank you for the reply

Yes, that's what I want, and not necessarily with a gallery.
So, Actions is the way? I'll try it.

Thx
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2010 at 3:43pm
Well, it was definitely what I was looking for.
For further details you can view the post where I learnt the use of actions from several friends of mine. The link is below:
http://forum.codejock.com/forum_posts.asp?TID=15925
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6
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.203 seconds.