Add Button to ADXCommandBarPopup

Add-in Express™ Support Service
That's what is more important than anything else

Add Button to ADXCommandBarPopup
 
Giuseppe Porcelli




Posts: 46
Joined: 2006-05-26
Hi,
I have to add dinamically buttons to a ADXCommandBarPopup when the user click on the CommandBar(this because the content button can change any time based on databases result).
in Ribbon view, I am using the OnCreate Event, then I can add dinamically any button I need, but in CommandBar view there is not OnCreate Event.

I assume I can create only one time the buttons ????
If yes, which event I have to use to empty the buttons collection and then add the new button ?

Giuseppe
Posted 06 Oct, 2007 13:47:35 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Giuseppe.

Have you downloaded the following example yet?
http://www.add-in-express.com/projects/oldynamiccontrolsexample-vs2005.zip
Posted 08 Oct, 2007 12:11:57 Top