<?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 : CXTPPropertyGridItem constraints</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGridItem constraints]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:44:19 +0000</pubDate>
  <lastBuildDate>Mon, 24 Sep 2007 16:34:21 +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=8138</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[CXTPPropertyGridItem constraints : Hi; You do have to set the value...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26390&amp;title=cxtppropertygriditem-constraints#26390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 8138<br /><strong>Posted:</strong> 24 September 2007 at 4:34pm<br /><br />Hi;<DIV>You do have to set the value and also the index. So calling SetCurrent() is insufficient since it does not reflect the change in the edit portion of the item. You have to call SetCurrent(nIndex) followed by SetValue(). You can determine the text by calling GetText(nIndex) of the CXTPPropertyGridItemConstraints* collection.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 24 Sep 2007 16:34:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26390&amp;title=cxtppropertygriditem-constraints#26390</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItem constraints :    mgampi wrote:Hi; Try to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26387&amp;title=cxtppropertygriditem-constraints#26387</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3332">andrewg</a><br /><strong>Subject:</strong> 8138<br /><strong>Posted:</strong> 24 September 2007 at 4:23pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br />Hi;<div>Try to catch the <font size="2">XTP_PGN_ITEMVALUE_CHANGED notification within your </font>XTPWM_PROPERTYGRID_NOTIFY message handler&nbsp;in&nbsp;the parent of the property grid window and when the item of interrest changes, set the value and/or index of the dependent item. I did this several times in my code and it works very well.</div></td></tr></table><br><br>Do you mind posting an example? I'm trying to get it to work with SetCurrent() but to no avail.<br>]]>
   </description>
   <pubDate>Mon, 24 Sep 2007 16:23:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26387&amp;title=cxtppropertygriditem-constraints#26387</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItem constraints : Hi; Try to catch the XTP_PGN_ITEMVALUE_CHANGED...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26373&amp;title=cxtppropertygriditem-constraints#26373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 8138<br /><strong>Posted:</strong> 24 September 2007 at 1:40pm<br /><br />Hi;<DIV>Try to catch the <FONT size=2>XTP_PGN_ITEMVALUE_CHANGED notification within your </FONT>XTPWM_PROPERTYGRID_NOTIFY message handler&nbsp;in&nbsp;the parent of the property grid window and when the item of interrest changes, set the value and/or index of the dependent item. I did this several times in my code and it works very well.</DIV>]]>
   </description>
   <pubDate>Mon, 24 Sep 2007 13:40:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26373&amp;title=cxtppropertygriditem-constraints#26373</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItem constraints :  In my CXTPPropertyGrid, I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26371&amp;title=cxtppropertygriditem-constraints#26371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3332">andrewg</a><br /><strong>Subject:</strong> 8138<br /><strong>Posted:</strong> 24 September 2007 at 12:59pm<br /><br />In my CXTPPropertyGrid, I have two drop down boxes (CXTPPropertyGridItem's with constraints). The first represents the simplified code version of a string while the second is the full string. When I select a given code from the first box, I want to display the full string version in the second drop down box. Can anyone point me to how to do this?<br><br>As an example, say you have two boxes. The with language codes (EN,FR,SP) and the second with the full names (English, French, Spanish). When I select SP I want the focus to be set in the second box on Spanish automatically.<br><br><br>]]>
   </description>
   <pubDate>Mon, 24 Sep 2007 12:59:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8138&amp;PID=26371&amp;title=cxtppropertygriditem-constraints#26371</guid>
  </item> 
 </channel>
</rss>