Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How do I tell which GalleryItem Clicked
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I tell which GalleryItem Clicked

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: How do I tell which GalleryItem Clicked
    Posted: 04 October 2007 at 12:02pm
How do I tell which GalleryItem on a Gallery is clicked?
 
I'm sure it's probably simple but I can;t seem to work it out.
 
Thanks
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2007 at 3:26am
When you created the object, you assigned an ID for the object.
If the GalleryItem's ID is 65533, you can capture the click event in the  COMMANDBARS_EXECUTE event by comparing the value of Control.ID.
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.250 seconds.