Print Page | Close Window

how do you add a progressbar to ribbonbar sample

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=8167
Printed Date: 18 June 2025 at 4:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how do you add a progressbar to ribbonbar sample
Posted By: gbattig
Subject: how do you add a progressbar to ribbonbar sample
Date Posted: 25 September 2007 at 10:01pm

Hi guys, I am using vs2005 and the ribbon bar sample shipped with the purchase of commandbars, I am having difficulty in trying to add a progressbar to one of the tabs in a group, how do you do this in vb.net?

 

I can't seem to find this anywhere all I find is that documentation says to use xtpControlCustom but there are no samples anywhere for vb.net, can you please shed some light?

 
Thanks,
Greg



Replies:
Posted By: Oleg
Date Posted: 26 September 2007 at 1:21am
Hi,
 
try this code:
 

Dim ControlCustom As XtremeCommandBars.CommandBarControlCustom

ControlCustom = GroupClipboard.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, 1111, "")

progressBar = New ProgressBar()

progressBar.CreateControl()

ControlCustom.Handle = progressBar.Handle.ToInt32()



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


Posted By: gbattig
Date Posted: 26 September 2007 at 8:33pm
Awesome thank you that worked just fine :)



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