I am using a Ribbon containing Splitbuttons and DropDownButtons. Under one of these I want to make a SubMenu with a few MenuItems. Now the SplitButton and DropDownButton each have their appropriate Icons and also the MenuItems have Icons, but the submenu in between doesn't show up with an icon, see image. Althoug in the customize ribbon menu there is an option to attach an icon to the submenu, as soon as you klick Apply the icon is detached.
Is this a bug or is there another way to attach an icon to a submenu?
Paul
~~
Thanks for confirming my investigation was right
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
The submenus currently dont support the ability to show an icon rather they just show the name for the sub-menu. when a submenu item is selected though the main icon on either the split or dropdown button should show the last used item.
If you wish for this functionality be added please post on our ideas forum of file a service request to file an enhancement
https://communities.bentley.com/products/microstation/i/
Hi Paul,
PH said:In fact the act more ore less the same as a submenu
I think to say they are similar can be confusing, because all three mentioned GUI objects have different functionalities and are designed for different situations, so they also behave differently (despite of some differences are quite subtle).
PH said:the don't have directly commands associated, but the do have icons.
It's not correct.
SplitButton
DropDownButton
I guess DropDownButton is implemented differently to allow to use an icon to express a characteristic of item in DropDownButton collection. The same approach is not used for SplitButton, because by definition it shows the icon of last used item.
PH said:What do you say than
I do not say anything, I treat such discussion about tiny differences between GUI items a bit useless. Bentley decided to implement ribbon GUI and its structure and features in some way and for some reasons. Concepts and details are not explained anywhere unfortunately, so the only way is "to accept the features".
Maybe somebody from Bentley will provide extra details or even I am not right and there is a way how to define the icon for submenu.
You can also create Idea to extend (sub)menu definition, alternatively you can try to implement own ribbon item programatically, but it's not simple.
With regards,
Found the button (sorry, wasn't signed in) but see no Admin group to move to.
Hi Jan,
What do you say than about split buttons and drop down buttons. In fact the act more ore less the same as a submenu, the don't have directly commands associated, but the do have icons.