Print Page | Close Window

Ribbon Bar title

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=10972
Printed Date: 07 October 2024 at 8:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon Bar title
Posted By: chrisABC
Subject: Ribbon Bar title
Date Posted: 10 June 2008 at 7:38am
In the RibbonBar sample (ActiveX) the words "RibbonBar Sample" appear top centre of the bar when the program is run.

Where do these words come from and how can I change them??


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: younicke
Date Posted: 10 June 2008 at 9:46am
i believe it is the form's caption property. you can change it anytime you want in the designer but beware... changing it at runtime after you have set the RibbonBar.EnableFrameTheme will revert the forms titlebar to default, so you have to use the SetWindowText API to change the caption after you have enableframetheme


Posted By: chrisABC
Date Posted: 10 June 2008 at 12:09pm
Thank you.  Good answer. That works.

-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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