WebPopupMenu

From Xojo Documentation


For desktop applications, see PopupMenu.

Class (inherits from WebControl)


New in 2010r4

A popup menu. This control uses the browser’s native popup menu control.

Events
Close KeyPressed MouseUp
ContextualMenuAction LostFocus Open
DoubleClick MouseDown Resized
DropObject MouseEnter SelectionChanged
GotFocus MouseExit Shown
Hidden MouseMove


Properties
ContextualMenu ListCount fa-lock-32.png Parent fa-lock-32.png
ControlID fa-lock-32.png ListIndex Style
Cursor LockBottom Text fa-lock-32.png
DragOverStyle LockHorizontal Top
Enabled LockLeft VerticalCenter
Height LockRight Visible
HelpTag LockTop Width
HorizontalCenter LockVertical Zindex
Left Name fa-lock-32.png
List Page fa-lock-32.png


Methods
AcceptPictureDrop AllowTextDrag MsgBox
AcceptRawDataDrop Close PresentContextualMenu
AcceptTextDrop DeleteAllRows RemoveRow
AddRow ExecuteJavaScript RowTag
AllowPictureDrag IndexOfRow SetFocus
AllowRawDataDrag InsertRow ShowURL

Notes

Click the pencil icon overlay to directly enter items for the popup menu.

Example

Add several items to the popup menu in its Shown event handler:

Me.AddRow("One")
Me.AddRow("Two")
Me.AddRow("Three")
Me.AddRow("Four")

See Also

PopupMenu, WebProgressBar