I have a splitbutton in a toolbar.
I have a number of options, but I want the fist one to be the default, always; even if they user clicks on the dropdown and selets a different child button.
That is, if I have
When the user clicks on the button proper, I want Add(Local) to execute. If they click on the dropdown and select Add(Window), I want Add(Window) to execute
but I want Add(Local) to remain the default button.
I'm getting it all to work, except for the last bit.
I've tried calling set_defaultButtonIndex(0) in both the ClientClicking and ClientClicked events but to no avail.
Appreciate any hints.
--
Stuart