Page 1 of 1

Creating a Popup Menu when click on a Label

Posted: Fri May 02, 2014 12:21 pm
by Max Thieme

Hello together,

i have some questions again...still too new to all this stuff :)
I have a Label and i wanna show a simple popup menu if a click on one label appears. For this i will use the "Click"-Event in my Eventlist.

The Process:

  1. Click on a label

  2. Show a Popup

  3. Click on Item in Popup

  4. Some Actions...

    Questions that came up through the search process:

  5. How to setup the menu the easiest way? (Ive looked at the SelectComponents, wont appear.)

  6. Where to setup the menu?
    -I was reading about something like "place the menu invisibile on the screen and on click event set the property to visible"

  7. Ive tried it, but the Element is the wrong.

  8. What shall i do to point the cursorlocation so the menu appears right where the cursor clicked and not fixed everywhere on page?

  9. Any "really" good CSS Tutorials for beginners?

    I appreciate all your Answers and look forward to them.


Creating a Popup Menu when click on a Label

Posted: Fri May 02, 2014 1:45 pm
by Serhii Kulibaba

Hello Max

You can use dialogs for this (Create new/dialog), and open/close it by any event, e.g. click (http://docs.appery.io/documentation/w...)


Creating a Popup Menu when click on a Label

Posted: Fri May 02, 2014 5:15 pm
by Max Thieme

Hello Sergiy,

thanks for your fast Answer. I've allready tried the dialog. Its a new page with an overlay function, thats not what i meant. I need a context-menu like the right-click-menu on a desktop. My description was wrong. Sorry about that.


Creating a Popup Menu when click on a Label

Posted: Sun May 04, 2014 6:52 am
by Serhii Kulibaba

Use any jquery plugin e.g. https://plugins.jquery.com/contextMenu/
Just add custom JavaScript CSS.
Run contextMenu by trigger right click:
http://stackoverflow.com/questions/17...