Adding Pressed event to a Toolbar button?

I am trying to add a toolbar above a text field so I can add things like Bold, italic etc, but I do not see a way to add events to the Menu Items to trigger code. How do I add events?

should look like


i created a toolbar, add a button and put this toolbar into the window.
i used the context menu to add this event.

I only see this:

Hello,
adding the toolbar “Toolbar1” and click that and you will be in the toolbar editor, design as you please.
Drag “Toolbar1” to desired window and you will see it at runtime, as it will be added to the shelf.

Desktop Toolbar

Hope that helps

Ah, I see now how this works, Thanks!

1 Like

Welcome and glad you got it working :grinning: