Print Page | Close Window

SOLVED: Delete all

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=10884
Printed Date: 29 April 2024 at 4:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Delete all
Posted By: markmark
Subject: SOLVED: Delete all
Date Posted: 03 June 2008 at 3:07am
 
Hi
 
In ver 11.1.3 is this the only way to clear all items in the Property grid.
or is there a better way?
 
 

    If pgPermissions.Categories.Count > 0 Then
        For lngItems = 1 To pgPermissions.Categories.Count
            pgPermissions.Categories.Item(1).Remove
        Next
    End If
 
 
Thanks
 
MArk


-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 03 June 2008 at 3:48am
Hi,
 
You can remove all items
 
wndPropertyGrid.Categories.Clear


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: markmark
Date Posted: 03 June 2008 at 5:40pm

Thanks works A++

 




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