Print Page | Close Window

CommandBar's access keys overriding controls' key

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14189
Printed Date: 07 October 2024 at 12:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar's access keys overriding controls' key
Posted By: DaveH
Subject: CommandBar's access keys overriding controls' key
Date Posted: 30 April 2009 at 4:53pm
Hi, it seems that the access keys set on a CommandBar take precedence over the ones set on a form's controls, which is opposite of how the standard VB6 menu works. For example, if I have a VB6 form with a VB menu captioned "&Close" and a checkbox captioned "&Check", pressing Alt-C will toggle the checkbox. However, if I have a CommandBar with a xtpControlButtonPopup captioned "&Close" and the same checkbox, pressing Alt-C will drop down the Close menu.

How do I get it so that if there's an access key conflict, the child control will take precedence? I've tried the various KeyboardCuesUse settings, but none of them do what I want.

Thanks!


-------------
SuitePro version 16.3.1

David Huang
Alterity, Inc.

http://www.acctivate.com" rel="nofollow - Inventory and Distribution Management for QuickBooks



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