Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How to select an item in a Report combobox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to select an item in a Report combobox

 Post Reply Post Reply
Author
Message
bsamar View Drop Down
Newbie
Newbie
Avatar

Joined: 07 April 2008
Location: India
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsamar Quote  Post ReplyReply Direct Link To This Post Topic: How to select an item in a Report combobox
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.