<?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 : CXTPPropertyGrid  NavigateItems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGrid  NavigateItems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 07:21:55 +0000</pubDate>
  <lastBuildDate>Mon, 05 Jul 2010 03:20:38 +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=16913</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[CXTPPropertyGrid  NavigateItems : hello&amp;#65307; with version Xtreme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16913&amp;PID=59218&amp;title=cxtppropertygrid-navigateitems#59218</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6210">cartney</a><br /><strong>Subject:</strong> 16913<br /><strong>Posted:</strong> 05 July 2010 at 3:20am<br /><br />hello&#65307;<br />&nbsp;&nbsp;&nbsp;with version Xtreme ToolkitPro v13.2.1 .i need to navigate items but not value or caption using Tab key .and i want to select Constraints items with keyboard(1,2,3……9&#65289;.However if tab focus on the item caption and it works.but  if i tab to comboboxbutton ,it does not works.<br /><br /> my solution is NavigateItems(TRUE,TRUE);//tab caption and value <br />if(m_wndPropertyGrid.Create(r, this, 100))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_2003Theme=new CMyPropertyGridOffice2003Theme(&m_wndPropertyGrid);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_wndPropertyGrid.ModifyStyle(0, XTP_PGS_OWNERDRAW);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//m_wndPropertyGrid.SetTheme(xtpGridThemeOffice2003);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_wndPropertyGrid.SetCustomTheme(m_2003Theme);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_wndPropertyGrid.NavigateItems(TRUE,TRUE);//tab caption and value <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_wndPropertyGrid.SetViewDivider(0.3);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_wndPropertyGrid.SetHelpHeight(35);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />//set focus on inplaceedit if current propertyitem is //being selected<br />//my question is how about the combobutton<br />void CPropertyGridItem::OnSelect()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(m_bNeedInputCheck)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetInplaceEdit().SetCheck(m_pField-&gt;GetpKey()-&gt;GetFieldCheck());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetInplaceEdit().SetCheck(NULL);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//CXTPPropertyGridItem::OnSelect();<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ASSERT(m_bVisible);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CString strValue(m_strValue);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pInplaceControls-&gt;GetCount() &gt; 0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CRect rcValue(GetInplaceWindowsRect());<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (int i = m_pInplaceControls-&gt;GetCount() - 1; i &gt;= 0; i--)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPPropertyGridInplaceControl* pControl = m_pInplaceControls-&gt;GetAt(i);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pControl-&gt;OnCreateWindow(rcValue);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ((m_nFlags & xtpGridItemHasEdit)/* && !m_pGrid-&gt;m_bTracking*/)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CPropertyGridInplaceEdit& wndEdit = GetInplaceEdit();<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wndEdit.SetValue(strValue);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wndEdit.Create(this, GetValueRect());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wndEdit.SetReadOnly(!IsAllowEdit() || m_bConstraintEdit);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetInplaceEdit().HideWindow();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> <strong>if(GetFlags()&xtpGridItemHasEdit) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::SetFocus(GetInplaceEdit().GetSafeHwnd());&nbsp;&nbsp;&nbsp;&nbsp;<br /> if(!this-&gt;GetReadOnly()&&this-&gt;IsVisible())&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetInplaceEdit().SetSel(0,-1); <br /> }</strong><br />}<br />this image shows the sitution of focus on caption and i could select constraints item using keyboard<br /><img src="uploads/20100705_032513_meiy.bmp" border="0"><br />and this image shows tab to combobox(value item) and i could not select constraints item using keyboard<br /><img src="uploads/20100705_032522_you.bmp" border="0">]]>
   </description>
   <pubDate>Mon, 05 Jul 2010 03:20:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16913&amp;PID=59218&amp;title=cxtppropertygrid-navigateitems#59218</guid>
  </item> 
 </channel>
</rss>