Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Change Disabled Toolbar Color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Disabled Toolbar Color

 Post Reply Post Reply
Author
Message
Tange View Drop Down
Newbie
Newbie


Joined: 30 September 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tange Quote  Post ReplyReply Direct Link To This Post Topic: Change Disabled Toolbar Color
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.