Print Page | Close Window

How to Disable a CommandBars

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=12395
Printed Date: 07 October 2024 at 12:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to Disable a CommandBars
Posted By: marcel
Subject: How to Disable a CommandBars
Date Posted: 10 October 2008 at 6:19am

hi all,

when my application is in edit mode i want to disable the all the commandbars of the CommandBars object and its menubar.

Is this only possible to disable all the controls (or action controls) of the menubar and commandbars individually? Or, is there one command to disable and enable the CommandBars object?
 
Greeting,
Marcel.
 
 



Replies:
Posted By: Oleg
Date Posted: 10 October 2008 at 6:29am
Hi,
Just add in Update handler line
Control.Enabled = False and all controls will be diabled.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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