Print Page | Close Window

Change Disabled Toolbar Color

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=17636
Printed Date: 06 October 2024 at 4:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change Disabled Toolbar Color
Posted By: Tange
Subject: Change Disabled Toolbar Color
Date Posted: 03 December 2010 at 11:12am
We have some routines during which we would like to disable the users interaction with the toolbar. When we set the individual controls' enabled property to false they get the "greyed" out affect. What we really want is to have the controls disabled but retain their current color setting, not receive any "highlighting" during mouse roll overs,etc. We've tried:
 
1. setting a global flag for the commandbar's execute routine to simply return during the desired "disabled" period however the buttons still are get highlighted and are clickable.
 
2. Setting various global color settings however when we have the visualtheme set to the office2007 those color settings don't seem to have an affect.
 
3. Looked into UseDisableIcons = False, UseFadedIcons = False, turning animation off however none seems to have an affect (perhaps due to the office2007 visual theme?)
 
We did notice a particular property of the report control named "GreyIfDisalbe" which seems to be exactly what we want but it only applies to the repot control and not a toolbar. Description of this property is "When False, when the report control is disabled the report will still look enabled to the user but won't respond to input."
 
Any suggestions?
 
TIA



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