Default contextual menu pops up after selecting custom one

I have this textfield where I use a contextual menu to fill name. I use ConstructContextualMenu and ContextualMenuAction.

Unfortunately, as soon as my custom contextual menu closes, the default contextual menu opens.

Is there any way to prevent the default contextual menu to appear ?

A return true on ConstructContextualMenu should avoid it.

Thank you. I just tried return true in MouseDown, and it did the trick :slight_smile:

But indeed, return True in ConstructContextualMenu does it very nicely.

Not the expected flow, but if it worked, ok. :slight_smile:

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