This is a basic question, trying to see how Web 2.0 works. I want to align a WebToolbarButton to the rightmost on a WebToolbar.
var cmdLogOut As New WebToolbarButton
cmdLogOut.Style = WebToolbarButton.ButtonStyles.PushButton
cmdLogOut.Caption = "Log out"
cmdLogOut.Icon = webpicture.BootstrapIcon("door-open-fill")
me.AddItem(cmdLogOut)
How might I du that?
I have tried like this:
cmdLogOut.Position = WebToolbarButton.Positions.Right
As the docs suggests: https://documentation.xojo.com/api/user_interface/web/webtoolbar.htmlButton.Position
But I get this error:
MainView.MainViewToolbar.Opening, line 5
This item does not exist
cmdLogOut.Position = WebToolbarButton.Positions.Right