Print Page | Close Window

Add new line in 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=11940
Printed Date: 07 October 2024 at 2:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add new line in menu?
Posted By: ashley
Subject: Add new line in menu?
Date Posted: 23 August 2008 at 11:51am
Hi guys,
 
I'm trying to add a new line to the caption in the main menu. The code is below:
 
Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")
Control.Caption = "some caption and i want to add a new line"
Control.Height = 50
Control.BeginGroup = True
.AddControl Control
 
Is this possible? I've already tried things like vbCrLf and vbnewline.
 
Any help would be appreciated. Thanks.



Replies:
Posted By: Oleg
Date Posted: 23 August 2008 at 1:25pm
Hello,
its not possible for CXTPRibbonControlSystemPopupBarListCaption. You can try markuplabel from 12.0.1.


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


Posted By: ashley
Date Posted: 26 August 2008 at 3:42pm
Hi,
 
I've had no luck with markuplabel.
 
Thanks anyway


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows Vista Home Premium (64bit) - SP 1
Language: Visual Basic 6.0



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