Print Page | Close Window

Commandbar bug

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=14792
Printed Date: 16 June 2025 at 1:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Commandbar bug
Posted By: JantjeKeizer
Subject: Commandbar bug
Date Posted: 22 July 2009 at 6:45am
Easy to reproduce

    CommandBars1.ContextMenus.Add 1, "Main"
    CommandBars1.ContextMenus(1).Delete

Happens with every commandbars object I try to delete, unless i'm doing something wrong?

Version 13.1.0



Replies:
Posted By: Oleg
Date Posted: 24 July 2009 at 3:44am
Hi,
 
Delete method is for Toolbars only to remove them.
 
to remove ContextMenus you can only call CommandBars1.ContextMenus.DeleteAll


-------------
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