Print Page | Close Window

RibbonBar Issue

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=15534
Printed Date: 06 October 2024 at 4:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar Issue
Posted By: moe188
Subject: RibbonBar Issue
Date Posted: 02 November 2009 at 3:27pm
Hi,
I use the follwing code:
 
        Case ID_OPTIONS_STYLESCENIC:
            CommandBars.VisualTheme = xtpThemeRibbon
            CommandBarsGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Scenic.dll"
            ControlFile.Style = xtpButtonIconAndCaptionBelow ' use to be xtpButtonCaption
            CommandBars.PaintManager.RefreshMetrics
            CommandBars.RecalcLayout
            picClient.Refresh
the results is the screen bellow:
 
I was expecting the Icon and the Caption bellow, but the only thing showing it was the "File" caption, but where is the icon.
Note: I am using the same RibbonBar sample of CJ, so the icon "New" was not the icon assigned to "File".
Thank you


-------------
Visual Baisc 6 SP6

Windows XP Pro Sp3, Windows 7
Codejock Xtreme SuitePro ActiveX 15.1.3



Replies:
Posted By: Oleg
Date Posted: 03 November 2009 at 7:16am
Hi,
 
xtpButtonIconAndCaptionBelow  is not supported for filebutton. Use xtpButtonIcon or xtpButtonCaption.


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


Posted By: moe188
Date Posted: 03 November 2009 at 7:32am
 I see, thank you



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