<?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 : TabControl and KeyPreview Bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : TabControl and KeyPreview Bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:52:14 +0000</pubDate>
  <lastBuildDate>Sat, 08 Oct 2011 20:52: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=19046</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[TabControl and KeyPreview Bug : I noticed a bug on the TabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19046&amp;PID=66549&amp;title=tabcontrol-and-keypreview-bug#66549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3733">Krog</a><br /><strong>Subject:</strong> 19046<br /><strong>Posted:</strong> 08 October 2011 at 8:52pm<br /><br /><div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2">I noticed a bug on the TabControl when using the form KeyPreview property set to True.</font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2"><br></font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2">When the Tab caption has the focus, it fires the form KeyDown event twice. When the focus is on any other control it works correctly.</font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2"><br></font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2">It is interesting that the old SSTab control had the same behavior.</font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2"><br></font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2"><br></font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2">I attached a test project:</font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" size="2">https://support.codejock.com/Attachments/20100205-140707_TabControl_KeyPreview.rar</font></span></div><div style="font-size: 11px; line-height: normal; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; "><br></div></div>]]>
   </description>
   <pubDate>Sat, 08 Oct 2011 20:52:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19046&amp;PID=66549&amp;title=tabcontrol-and-keypreview-bug#66549</guid>
  </item> 
 </channel>
</rss>