Add-In Buttons

Add-In Buttons

Anonymous
Not applicable
390 Views
2 Replies
Message 1 of 3

Add-In Buttons

Anonymous
Not applicable
When I wrote a couple programs as VB Studio Add-Ins, I followed Brian Ekins' instructions in the "Taking the Step...." white paper to create a small toolbar with a button for each program. I ended up, however, putting the buttons on my toolbar by going into Customize --> Add Ins and then dragging and dropping the programs onto my desktop.



With the 2010 Ribbon interface, I now have the toolbar I created according to the white paper instructions just floating around and I can't dock it to any of the other toolbars. If I select Tools --> Customize --> Commands --> Add-Ins, I can see the programs but IV won't let me drag and drop them (or any command, for that matter) into the toolbar.



Any suggestions?



IV 2010 Suite, Windows XP.



Grant
0 Likes
391 Views
2 Replies
Replies (2)
Message 2 of 3

jeff.pek
Community Manager
Community Manager
Hi Grant -

Ribbon customization is done in a new, different way from toolbar customization.
You still have the ButtonDefinition objects that you create for use with toolbars, but you add them, as CommandControl objects, to the various ribbon panels. You can either add them to existing tabs and panels, or create your own.

You can still use toolbars, and can drag your commands into the toolbars, but I guess you can't drag those onto the ribbon.

Jeff
0 Likes
Message 3 of 3

ali_raza117
Participant
Participant
i want to create a button which when pressed opens my windows calculator,how can i make that button in ribbon bar?
0 Likes