WebButton.pressed PresentContextualMenu

Today I’m running on some of mine webapps to migrate them to 2.0.

I have a trouble.

I have a webbutton and I want it to show a contextual menu without right-click but with a simple clich or touch (something like the bevelbutton on the desktop apps). In the old version of my webapp (cgi), in the Pressed event of the button I have


and it worked nice. But in the 2.0 I have an error “WebButton has no member named PresentContextualMenu”.

Is there a way to have the presentation of a contextualmenu simply pressing the webbutton?

Thanks a lot!!! (Again)

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.