Hi, per the title, I tried running the Example as is, and with B4J when you click the first button, the button DIMS but no menu is shown.
Also, when you run and click the second button, the menu appears but when you click the first button just after the second button, you get this error
This is a simple cross platform Popup Menu.
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. :)
Left: B4J Right: B4A...
The class clsPopupMenu shows a Popup Menu which can own sub menus.
The options are stored in a map. In the example they are in json file in the assets folder.
3 events are fired :
- open : A popup menu has been opened
- click : An option has been clicked
- close : A popup menu has...
Hi, I have a Samsung device and I noticed that there is a function called Smart Popup. I want to implement that function in my app but I don't know what permission to use.
Also whatsapp and Amazon enabled smart popup automatically
Can you help me?
Thanks in advance, Simone
Here's a small class which produces a simple popup menu anchored to a view. It works in B4A and B4i currently.
I've attached projects to show how it is used.
[Edit] New version 1.1 has better support for popup menus inside (nested?) scrollviews.