Print Page | Close Window

Ribbon bar custom control

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=5275
Printed Date: 20 June 2025 at 1:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon bar custom control
Posted By: Slater
Subject: Ribbon bar custom control
Date Posted: 12 October 2006 at 3:42am
Hi All,
 
I am new to CommandBars. I tried to find it on this site but there are no examples about it. How can I add a custom control to a ribbon group?
 
I tried this:

XtremeCommandBars.RibbonGroup Group = null;

XtremeCommandBars.CommandBarControl control = null;

Group = TabOrderAndOutputs.Groups.AddGroup("&Group", ID.ID_GROUP);

control = Group.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, 0, "Hello", null, null);

All examples I found say that the control should have a handle property. But it does not exist. What do I miss here?
 
Thx.



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