Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - how do  you add a progressbar to ribbonbar sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how do you add a progressbar to ribbonbar sample

 Post Reply Post Reply
Author
Message
gbattig View Drop Down
Newbie
Newbie


Joined: 25 September 2007
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbattig Quote  Post ReplyReply Direct Link To This Post Topic: how do you add a progressbar to ribbonbar sample
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gbattig View Drop Down
Newbie
Newbie


Joined: 25 September 2007
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbattig Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2007 at 8:33pm
Awesome thank you that worked just fine :)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.032 seconds.