Print Page | Close Window

changing dynamic created menu

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=16661
Printed Date: 27 November 2024 at 3:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: changing dynamic created menu
Posted By: Ditte
Subject: changing dynamic created menu
Date Posted: 05 May 2010 at 9:09am
Hi,

I´ve a dynamic cj menu for cCJMenuItem and also in a treeView of a DockingPane.
The menu will be created at start by dependence from userrights.
All needed parameters will read into a array.
It works, no problems.
Now the user has more as one office. I give him a way to change the workspace.
After changing the workspace the user has other rights. He should do the same in all offices.
I create a new parameter array.
No problem with treeView, I read the rights clear the treeview and create a new one.
Now my problem.

I search a way to delete all items from oViewMenu and create it new after changing workspace.

What can I do to create a new menu at runtime
 



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



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