Reputation: 157
I've got a custom ribbon tab in Excel. Is there any way to keep a custom toggle button pressed down?
I found an example in the VIEW > Workbooks Views
section. One view can be selected and button is kept down.
Upvotes: 1
Views: 1262
Reputation: 49453
You need to use the toggleButton control and use the getPressed callback which allows to specify whether the toggle button control is pressed or not. You can read more about the Ribbon UI in the following series of articles in MSDN:
Upvotes: 1