Print Page | Close Window

Adding combobox to the CXTPListCtrl item

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=20609
Printed Date: 15 November 2024 at 6:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding combobox to the CXTPListCtrl item
Posted By: Mohan
Subject: Adding combobox to the CXTPListCtrl item
Date Posted: 13 February 2013 at 4:13am
Hello,

I want to add a combobox to the CXTListCtrl item.
What is the way to do so? I appreciate any help.

Please let me know.

Regards,
Mohan.



Replies:
Posted By: GRLEX
Date Posted: 22 February 2013 at 5:00am
CXTPReportRecordItem * pNewItem = NULL;
pNewItem = new CXTPReportRecordItem();
pNewItem->GetEditOptions(NULL)->AddComboButton();
pNewItem->GetEditoptions(NULL)->AddConstraint(L"Combo Text 1");
pNewItem->GetEditoptions(NULL)->AddConstraint(L"Combo Text 2");
...

This will be an item like combobox. Then you nedd to insert this item into your record in grid.



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