Print Page | Close Window

How to select an item in a Report combobox

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


Topic: How to select an item in a Report combobox
Posted By: bsamar
Subject: How to select an item in a Report combobox
Date Posted: 08 April 2008 at 9:43am
Hi,
 Am trying to select an item in a combo box. The combo box is in a CXTPReportRecordItem which I got by implementing pItem->GetEditOptions(0)->AddComboButton()
 
Now, supposing I have two rows with data and there is one combo box on each row, I want to change the selection of a combo box in the second row when the selection is changed in the combo box of the first row.
 
I have added the string in both the combo boxs by calling
pItemConstraint =
                    pItem->GetEditOptions(0)->AddConstraint("XYZ");
pItemConstraint->m_dwData = 4;
 
Do let me know how I can make a selection if you know.
Thanks in advance.



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