Deleting Items |
Post Reply |
Author | |
jenakap
Newbie Joined: 13 November 2003 Location: United States Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 13 November 2003 at 5:21pm |
Hi I am evaluating the property grid for use in one of our products. We use VC6 and MFC for our app. I was wondering how to delete an item from the property grid? When I try to do the following: CXTPPropertyGridItem * pItem = m_propGrid.GetSelectedItem(); if (pItem) pItem->Delete(); I get a compile error saying delete is not a member of CXTPPropertyGridItem. Your documentation says it is. The header file however has a ifdef for DOTNET. How do you delete something from the property grid in VC6? Ideally, I would like to select an item and click on a button and have the app delete that and any of its children. |
|
tis707
Newbie Joined: 28 January 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
C_Recordset rset = m_DataControl.GetRecordset();
try this datacontlo is the member variable of ado contrlo
|
|
tis
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
use pItem->Remove();
sorry for mistake in documentation. |
|
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 |