Print Page | Close Window

TAB Focus is not availble on XTButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4081
Printed Date: 10 November 2025 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TAB Focus is not availble on XTButton
Posted By: Suyambu2002
Subject: TAB Focus is not availble on XTButton
Date Posted: 28 April 2006 at 1:02am

Hello All

Am using CXTButton control.  OnInitDialog of my dialog I set the button theme to...

m_btnAddJobs.SetTheme ( new CXTButtonThemeOfficeXP ( TRUE ) );

Now my problem is I have some other controls also in my dialog ( a list control and the XTButton ).  When I press tab from my list control to XT button, actually the tab is on the XTbutton but it doesn't give look as if the focus is on the XTbutton.  In case of mouse over there is color change happening, so user would be able to identify where the focus is.

When I press tab, not able to identify where the focus is.

Is there any way that this can happen automatically???

Please help me out, TAB is one of the major UI standard, which is not there in my application.

 



-------------
Best Regards
Suyambu



Replies:
Posted By: Armin Fryder
Date Posted: 30 May 2006 at 9:51am
I have just the same problem with a checkbox, when hitting TAB, the control actually gets the focus, but does not draw the the dotted line around it to show the user, that it actually has the focus. It would interest me, if you have the same problem, when you change the Type of that button to MFCs CButton.. I have the same behavior on both CButton and XTButton.
Plus, and this is most awkward, I only have this behavior, when I open the (modeless) dialog from the menu with the mouse. If I open the same dialogue with an existing acceleration shortcut, everything works fine

Best Regards,
Armin



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