Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to Disable a CommandBars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to Disable a CommandBars

 Post Reply Post Reply
Author
Message
marcel View Drop Down
Newbie
Newbie
Avatar

Joined: 13 December 2006
Location: Netherlands
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote marcel Quote  Post ReplyReply Direct Link To This Post Topic: How to Disable a CommandBars
    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.
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.