![]() |
how do you add a progressbar to ribbonbar sample |
Post Reply
|
| Author | |
gbattig
Newbie
Joined: 25 September 2007 Location: Canada Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: how do you add a progressbar to ribbonbar samplePosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
gbattig
Newbie
Joined: 25 September 2007 Location: Canada Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2007 at 8:33pm |
|
Awesome thank you that worked just fine :)
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |