Print Page | Close Window

GridItem.Remove()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=9646
Printed Date: 21 November 2024 at 12:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GridItem.Remove()
Posted By: Osiris
Subject: GridItem.Remove()
Date Posted: 20 February 2008 at 8:47am
Hi Oleg,

I want to delete an item of a property grid like shown here:

CXTPPropertyGridItem* pItem = grid.GetSelectedItem();
if( pItem )
{
    // delete selected item from grid
    pItem->Remove();
}


I get an exception in CXTPPropertyGridView::_RefreshIndexes().
As long as I worked with the version 11.1.3 all worked fine. This exception occured after I switched to version 11.2.1.

What could be the cause of this?

Thanks in advance
Stefan



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