Xojo2024R1: how to add line separator as WebMenuItem to the WebToolbar

I have method that creates WebToolbar on WebPages in the app. One of the buttons shows menu items.
The menu items should be separated, currently I have empty space that I would like to make look like the conventional gray line. What can I do?

Is this what you want?

1 Like

Yes, that is what I wanted.
I have tested this code inside the method:


where pMenuObjRef As WebMenuItem

and it does produce the results I need. Thanks a lot.

1 Like