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.