combo box in report control |
Post Reply |
Author | |
vjedlicka
Senior Member Joined: 04 September 2007 Status: Offline Points: 122 |
Post Options
Thanks(0)
Posted: 20 March 2014 at 3:51am |
Is it possible to show a combo box in the report control?
Which classes would I need to use?
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
GRLEX
Groupie Joined: 17 February 2009 Location: Ukraine Status: Offline Points: 27 |
Post Options
Thanks(0)
|
Hi, to use combobox in your report control you nedd add combo button it report item and then add list of values inside an item.
for example: CXTPReportRecordItem * pNewItem = NULL; pNewItem = new CXTPReportRecordItemText; pNewItem->GetEditOptions(NULL)->AddComboButton(1); pNewItem->GetEditOptions(NULL)->AddConstraint(L"Combo value 0", 0); pNewItem->GetEditOptions(NULL)->AddConstraint(L"Combo value 1", 1); ... pNewItem->GetEditOptions(NULL)->AddConstraint(L"Combo value n", n); where n is count of your combo items.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |