Thanks, the test plugin works!

With this code I can now hide the "small size" menuitem from the toolbar menu:

    // Hide Small Size Option of Menu
    Dim v As NSViewMBS =  Self.NSWindowMBS.toolbarView
    Dim m As NSMenuMBS = v.menu
    Dim i As NSMenuItemMBS = m.Item(5)  // use small size
    i.isHidden=True


However:  On the CustomizeToolbar Window, there is also a checkbox "Use small 
size".

Is there a way I can get rid of it as well?

Oliver
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to