Removing Toolbar Buttons

I have a view with a number of toolbar buttons but when I test it on the some of the smaller iPhones there isn’t enough room for all the buttons so the end ones don’t show until you change the orientation. When you put the orientation back to portrait it chops off the first buttons.

Is it possible to remove a button on open?

Dim removeButton As iOSToolButton
removeButton = self.Toolbar.Value(index)

How do you identify the index of a button when it doesn’t appear in the inspector?

You have added the button so you should have a clue.

Anyway you can remove as specific button (for instance myExtraButton) with self.toolbar.removeByValue(myExtraButton)

Thanks Antonio