Print Page | Close Window

how can i generate dynamic menus

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


Topic: how can i generate dynamic menus
Posted By: serkane
Subject: how can i generate dynamic menus
Date Posted: 04 August 2007 at 5:58am
hi,
 
i wanna create menus at run-time...
 
but i cannot insert a item to any menu item as a child item... because the items is not a xtpControlPopup item...
 
i add the menu item as xtpControlButton... because i dont know these items will be xtpControlPopup control has child-item(s)... maybe it has no child-item(s). but when the code is running any item can be child-item for a menu-item...
 
i get error when i try to add a child-item to that item (xtpControlButton).


-------------
Best regards,
Serkan EKSI



Replies:
Posted By: Oleg
Date Posted: 04 August 2007 at 7:26am
Hello,
 
If control is xtpControlButton you can't add subitems. So you can delete it and add xtpControlPopup to same position with same id and caption.


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