Print Page | Close Window

Reponding to a xtpControlSplitButtonPopup

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=621
Printed Date: 11 December 2024 at 9:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Reponding to a xtpControlSplitButtonPopup
Posted By: markh
Subject: Reponding to a xtpControlSplitButtonPopup
Date Posted: 14 April 2004 at 6:24am

Hello

Just wondering if the feature mentioned in the following post has been implemented in v8.70? I can't find any mention of it in the help or sample code. It is a very important requirement for me.

https://forum.codejock.com/forum_posts.asp?TID=230&KW=mark - https://forum.codejock.com/forum_posts.asp?TID=230&K W=mark

Mark

 




Replies:
Posted By: SuperMario
Date Posted: 14 April 2004 at 6:47am
When you click on an arrow of a popup like the splitbutton popup or the combobox the InitCommandsPopup event is fired.  The Execute event is fired only when you click on the button part of the splitbutton popup or one of the controls displayed in the dropdown.  You would then add the required controls to be displayed in the dropdown.  Look at the Dynamic Popups sample to see how to use this event.


Posted By: markh
Date Posted: 14 April 2004 at 7:16am

Thanks SuperMario

That gives me an event when I click on the arrow of a splitbutton popup. However, I don't want to display a standard menu when the user clicks on it. Instead I want to display my own 'line thickness' selection control (see image). Therefore, I need the x and y coordinates of the bottom left corner of the splitbutton control to be available in the event, so that I can position my line thickness control in the correct place.

Is this possible? I would also like to do it with several other selection controls that I have in my app.

 

Mark



Posted By: markh
Date Posted: 19 April 2004 at 1:35pm

Does anyone know the answer to this???

At the moment the lack of this feature is preventing me from converting all of my apps from Infragistics Ultratoolbars to CommandBars.

Mark




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