Print Page | Close Window

Disabling buttons dont affect keybindings

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=16619
Printed Date: 22 September 2024 at 6:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disabling buttons dont affect keybindings
Posted By: CapoPezzio
Subject: Disabling buttons dont affect keybindings
Date Posted: 21 April 2010 at 4:04pm
Hi.
Hi have added a buttoncontrol to my ribbon. I have also added a keybinding (Ctrl + N) with the same id.  This work fine. At certain points I am disabling my controlbutton. control.enabled = false. This work on the button. But the execute-event still fires when I am hitting Ctrl + N. Is there an easy that when I am disabling a button, the keybindings to the button also gets dsiabled (dont fire)


-------------
Product: Xtreme SuitePro (ActiveX) version 13.3.1
Platform: Windows 7 (32bit)
Language: Visual Basic 6.0



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