Print Page | Close Window

RibbonSystemButton

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=18281
Printed Date: 23 November 2024 at 8:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonSystemButton
Posted By: levent
Subject: RibbonSystemButton
Date Posted: 27 April 2011 at 4:15pm
 Hi;

I'm using following code to show systembutton in my project

    Set ControlFile = RibbonBar.AddSystemButton()
    ControlFile.IconId = ID_SYSTEM_ICON
    ControlFile.Caption = "&File"
    ControlFile.Style = xtpButtonCaption '

But i would like to show systembutton on the top of the form like below picture



Thanks



Replies:
Posted By: SuperMario
Date Posted: 10 May 2011 at 3:14pm
Just remove line
ControlFile.Style = xtpButtonCaption



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