Question

I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is clicked?

This doesn't seem to be of much help.

Was it helpful?

Solution

Make sure your menu is set to Dynamic = True and then use the RibbonMenu's ItemsLoading event. This will allow you to capture what happens to the what's dropped down before it's dropped down.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top