<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : PropertyItemEnumFlags Item as a Child</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : PropertyItemEnumFlags Item as a Child]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 19:38:13 +0000</pubDate>
  <lastBuildDate>Tue, 24 Jan 2006 14:15:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=3551</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[PropertyItemEnumFlags Item as a Child : Hi, Colors of Category items...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3551&amp;PID=10661&amp;title=propertyitemenumflags-item-as-a-child#10661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3551<br /><strong>Posted:</strong> 24 January 2006 at 2:15pm<br /><br /><P>Hi,</P><P>Colors of Category items are different and visually it looks as category - parent item. Same appearance in Visual Studio .NET grid</P>]]>
   </description>
   <pubDate>Tue, 24 Jan 2006 14:15:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3551&amp;PID=10661&amp;title=propertyitemenumflags-item-as-a-child#10661</guid>
  </item> 
  <item>
   <title><![CDATA[PropertyItemEnumFlags Item as a Child : I added a top level category of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3551&amp;PID=10650&amp;title=propertyitemenumflags-item-as-a-child#10650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1549">Shawshank</a><br /><strong>Subject:</strong> 3551<br /><strong>Posted:</strong> 24 January 2006 at 12:02am<br /><br /><P>I added a top level category of which I then added a Child item. This child item is of the type PropertyItemEnumFlags. All works fine except that the child item is postioned not indented below its parent item but instead is set at the same left value as the parent item. This provides the *appearance* that the child item is NOT actually a child item at all --when in fact is. If I collaspe the parent item the child item is folded beneath it. How do I get the child item to be indented below the parent item? Here is the code I used:</P><P>&nbsp;&nbsp;&nbsp; Set Category = Me.prpgrd.AddCategory("Filter...")<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Category.Expanded = True<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set SubCategory = Category.AddChildItem(PropertyItemEnumFlags, "Ignore files with these attributes:", 1)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "Do nothing", 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "Archive", 2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "Compressed", 4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "Hidden", 8<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "Read only", 16<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SubCategory.Constraints.Add "System", 32<BR></P>]]>
   </description>
   <pubDate>Tue, 24 Jan 2006 00:02:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3551&amp;PID=10650&amp;title=propertyitemenumflags-item-as-a-child#10650</guid>
  </item> 
 </channel>
</rss>