<?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 : CXTPButton displaying flat by default</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPButton displaying flat by default]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:42:30 +0000</pubDate>
  <lastBuildDate>Tue, 25 Jul 2017 09:38:04 +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=23394</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[CXTPButton displaying flat by default :  When we ran under XTP v15.x,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23394&amp;PID=75957&amp;title=cxtpbutton-displaying-flat-by-default#75957</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8760">rhfritz</a><br /><strong>Subject:</strong> 23394<br /><strong>Posted:</strong> 25 July 2017 at 9:38am<br /><br /><div>When we ran under XTP v15.x, CXTPButtons appeared both 3D and had the "ShowFocus" property -- if that's what the color change when the cursor was over the button is called.</div><div><br></div><div>When we upgraded to XTP v17.x, all the CXTPButton derived buttons seemed to revert to flat but still had the ShowFocus property.&nbsp;&nbsp; Following the code in the Button example, I now find that in order to get the controls to look 3D, I have to call SetUseVisualStyle(0).&nbsp; But then I lose the ShowFocus property.</div><div><br></div><div>Of course, between versions of XTP we upgraded from XP to 7 to 10.&nbsp;&nbsp; But was there some sort of default "theme" change that caused the 3D look to go away?&nbsp;&nbsp; Setting the ShowFocus() property does not work when using SetUseVisualStyle(0).&nbsp;&nbsp;&nbsp;And the Button example shows all controls with focus&nbsp;for all themes except Flat and Standard.&nbsp; And is flat now the Win7/10&nbsp;UI standard?&nbsp;&nbsp; </div>]]>
   </description>
   <pubDate>Tue, 25 Jul 2017 09:38:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23394&amp;PID=75957&amp;title=cxtpbutton-displaying-flat-by-default#75957</guid>
  </item> 
 </channel>
</rss>