Max Thieme
Posts: 0
Joined: Wed Apr 23, 2014 7:27 pm

Creating a Popup Menu when click on a Label

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Creating a Popup Menu when click on a Label

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...)

Max Thieme
Posts: 0
Joined: Wed Apr 23, 2014 7:27 pm

Creating a Popup Menu when click on a Label

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Creating a Popup Menu when click on a Label

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...

Return to “Issues”