Propertygrid & Combo |
Post Reply |
Author | |
Ocrana
Groupie Joined: 20 November 2007 Status: Offline Points: 32 |
Post Options
Thanks(0)
Posted: 20 November 2007 at 11:41pm |
Hi,
I use a PropertyGrid Item with a ComboButton. Iam wondering to have no chance to receive the selected index of the list, only a string value. Do i miss something? I use: CXTPPropertyGridItem* m_pQualityItem; m_pQualityItem = pCategoryApplication->AddChildItem(new CXTPPropertyGridItem(IDS_QUALITY_ITEM)); m_pQualityItem->GetConstraints()->AddConstraint(_T("Max. Sharp (Fastest)")); .... m_pQualityItem->SetFlags(xtpGridItemHasComboButton|xtpGridItemHasEdit); m_pQualityItem->SetConstraintEdit(TRUE); m_pQualityItem->SetValue(_T("Default (Normal Speed)")); Is it not possible to receive the index? Or do I have to use another GridItem Type? Ingo |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
if you use SetConstraintEdit I recommend use CXTPPropertyGridItemEnum instead. and SetEnum/GetEnum instead of SetValue.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |