<?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 : DefaultValue PropertyGridItemColor</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : DefaultValue PropertyGridItemColor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 06:33:54 +0000</pubDate>
  <lastBuildDate>Mon, 11 May 2009 14:39:56 +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=14265</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[DefaultValue PropertyGridItemColor : I&amp;#039;ll notify Oleg when the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48871&amp;title=defaultvalue-propertygriditemcolor#48871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 14265<br /><strong>Posted:</strong> 11 May 2009 at 2:39pm<br /><br />I'll notify Oleg when the issue comes in.&nbsp;]]>
   </description>
   <pubDate>Mon, 11 May 2009 14:39:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48871&amp;title=defaultvalue-propertygriditemcolor#48871</guid>
  </item> 
  <item>
   <title><![CDATA[DefaultValue PropertyGridItemColor : Hi,  This will do for now. Would...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48868&amp;title=defaultvalue-propertygriditemcolor#48868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14265<br /><strong>Posted:</strong> 11 May 2009 at 2:19pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>This will do for now. Would be nice if (in near future) something would change with DefaultValue &lt;&gt; Value types. I'm having some problems with this but I will open ticket for this and maybe it will be solved somehow <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 11 May 2009 14:19:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48868&amp;title=defaultvalue-propertygriditemcolor#48868</guid>
  </item> 
  <item>
   <title><![CDATA[DefaultValue PropertyGridItemColor : Dim ColorItem As PropertyGridItemColor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48867&amp;title=defaultvalue-propertygriditemcolor#48867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 14265<br /><strong>Posted:</strong> 11 May 2009 at 1:51pm<br /><br />&nbsp;&nbsp;&nbsp; Dim ColorItem As PropertyGridItemColor<br>&nbsp;&nbsp;&nbsp; Set ColorItem = Category.AddChildItem(PropertyItemColor, "ColorItem", RGB(10, 20, 30))<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; 'change color to something else<br>&nbsp;&nbsp;&nbsp; ColorItem.Value = RGB(255, 204, 0)<br>&nbsp;&nbsp;&nbsp; ColorItem.EditorStyle = ItemColorPopup<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim lRed As Long<br>&nbsp;&nbsp;&nbsp; Dim lGreen As Long<br>&nbsp;&nbsp;&nbsp; Dim lBlue As Long<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; lRed = ColorItem.Value And 255<br>&nbsp;&nbsp;&nbsp; lGreen = (ColorItem.Value \ 256) And 255<br>&nbsp;&nbsp;&nbsp; lBlue = (ColorItem.Value \ 65536) And 255<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; ColorItem.DefaultValue = lRed &amp; "; " &amp; lGreen &amp; "; " &amp; lBlue <br>]]>
   </description>
   <pubDate>Mon, 11 May 2009 13:51:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48867&amp;title=defaultvalue-propertygriditemcolor#48867</guid>
  </item> 
  <item>
   <title><![CDATA[DefaultValue PropertyGridItemColor : Hi,  I&amp;#039;m trying to set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48850&amp;title=defaultvalue-propertygriditemcolor#48850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14265<br /><strong>Posted:</strong> 11 May 2009 at 8:25am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm trying to set Item.DefaultValue of PropertyGridItem<FONT color=#ff0000><strong>Color</strong></FONT> to same value as Item.Value</DIV><DIV>But it's not working so well...</DIV><DIV>&nbsp;</DIV><DIV>This is what I do:</DIV><DIV>&nbsp;</DIV><DIV>Load settings of PropertyGrid items from XML file.&nbsp;After loading the settings I would like to set the .DefaultValue the same as .Value&nbsp;because it looks like properties has been changed (I have HighLightChangedItems = True). </DIV><DIV>&nbsp;</DIV><DIV><strong>This&nbsp;doesn't work</strong>: Item.DefaultValue = Item.Value </DIV><DIV>&nbsp;</DIV><DIV>How can I get this to work?</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot in advance</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 11 May 2009 08:25:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14265&amp;PID=48850&amp;title=defaultvalue-propertygriditemcolor#48850</guid>
  </item> 
 </channel>
</rss>