Print Page | Close Window

CXTPReportFilterEditControl shoud be a CXTPControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18673
Printed Date: 06 May 2024 at 1:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportFilterEditControl shoud be a CXTPControl
Posted By: acwest
Subject: CXTPReportFilterEditControl shoud be a CXTPControl
Date Posted: 15 July 2011 at 11:15am
It would be a lot easier to use the CXTPReportFilterEditControl if it was derived from CXTPControl. I am trying to add one to a ribbon group, but it isn't working well. So far, I am trying to make it work as a custom control, but it isn't working. In this case, I am not getting OnCreateControl message for it, so it isn't being initialized properly.
Edit: I did some debugging, and it appears that I only get the OnCreateControl message for Controls that load menu items, such as xtpControlSplitButtonPopup



Replies:
Posted By: ABuenger
Date Posted: 15 July 2011 at 2:59pm
Hi,

that's unfortunately not possible, because the Report Control is also sold as a single control without the CommandBars.

I'll look into a solution to host it on the CommandBar.

Andre



-------------
Codejock support


Posted By: acwest
Date Posted: 15 July 2011 at 3:27pm
I'm sure there would be some way to do it. That doesn't help me now in any case. Any idea why OnCreateControl isn't being triggered by any ribbon controls that don't contain menus?


Posted By: acwest
Date Posted: 15 July 2011 at 5:32pm
Well, it's more than a bit bogus, but if you use SetButtons instead of add to add the cusatom control, OnCreateControl gets called properly. Of course, you need to set the controlType in that case, but it works...


Posted By: WoH-xD
Date Posted: 16 July 2011 at 7:29am
i also would like to know how to add a filteredit via GetControls->Add to a ToolBar


Posted By: mgampi
Date Posted: 02 May 2013 at 1:33am
Me too! Thumbs Up


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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