How to create a Windows Toolbar?

I’m using Xojo 2018 R1 on Windows 10. I’m trying to add a Toolbar to my application. I have viewed the example projects that contain a Toolbar; however, I don’t understand how to actually create the Toolbar with button images, etc. The ExampleToolbar object within the Toolbar Example project displays buttons/images, but I do not know how to create the same in my app. I don’t see any code in the example project that is creating the buttons on Load, etc. Any guidance will be appreciated. Thank you.

This should be similar in windows, let us know if it doesn’t help.


Toolbar 1 is added to the project

select Toolbar 1

At the top are four buttons: Windows / Mac / Linux and a bit separate ADD TOOLITEM

Press the ADD TOOLITEM button

set up that added tool button item

And read the documentation and watch the webinars available at

Thank you, Julian! I will make sure to also search YouTube for tutorials next time.

Sometimes they are on there, I check just in case :slight_smile: