![]() |
Remove all Categories |
Post Reply
|
| Author | |
webjeff
Newbie
Joined: 04 November 2006 Location: United States Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: Remove all CategoriesPosted: 20 August 2008 at 10:54am |
|
How do I remove all categories??
I tried this:
for(int i = 0;i < m_wndPropertyGrid.GetCount();i++)
{
if (m_wndPropertyGrid.GetCategories()->GetAt(i))
m_wndPropertyGrid.GetCategories()->GetAt(i)->Remove();
}
m_wndPropertyGrid.Refresh();
But that didn't work, it removes some of the items, not all of them.
Any ideas??
Jeff.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 August 2008 at 1:21pm |
|
Hi,
GetCategories()->Clear();
|
|
|
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 |