WebPopupMenu.AddSeparator

From Xojo Documentation


Method

WebPopupMenu.AddSeparator()

New in 2020r1

Supported for all project types and targets.

Adds a non-selectable line to the menu separating the rows above and below it.

Sample Code

Add a new two rows followed by a separator, followed by two more rows to the popup menu in the Shown event handler:

Me.AddRow("Frodo")
Me.AddRow("Sam")
Me.AddSeparator
Me.AddRow("Miri")
Me.AddRow("Pippin")