Print Page | Close Window

Get parent button ID for CXTPControlPopupColor

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=19099
Printed Date: 24 November 2024 at 11:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get parent button ID for CXTPControlPopupColor
Posted By: whudson
Subject: Get parent button ID for CXTPControlPopupColor
Date Posted: 21 October 2011 at 11:57am
I have four CXTPControlPopupColor in a ribbon for setting the colour of different parts of my charts. They all use the same CXTPControlGallery popup since all of the colours offered are the same.

In the handler for the gallery colour selector I want to be able to find out the ID of the popup colour button was clicked to cause the gallery selector to be shown. Is there a way of doing this?

The brute-force solution would be to create four different gallery colour selectors, or to assign the same gallery selector four different ID's, but finding the selected button would be a nicer solution (to my mind).

Thanks in advance.

William



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