Print Page | Close Window

TabControl and KeyPreview Bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=19046
Printed Date: 19 September 2024 at 2:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl and KeyPreview Bug
Posted By: Krog
Subject: TabControl and KeyPreview Bug
Date Posted: 08 October 2011 at 8:52pm
I noticed a bug on the TabControl when using the form KeyPreview property set to True.

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.

It is interesting that the old SSTab control had the same behavior.


I attached a test project:
https://support.codejock.com/Attachments/20100205-140707_TabControl_KeyPreview.rar



-------------
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 SP6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net