Popup Menu

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
devinst
Profound User
Posts: 80
Joined: Mon Apr 20, 2009 11:26 am
First Name: Devin
Last Name: St. Germain
Company Name: Dupre Logistics, LLC
Phone: 337.314.2259
Address 1: 201 Energy Pkwy. Ste. 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

Popup Menu

Post by devinst »

Is there a way to have a menu pop up when a right mouse click is executed on a field when the field does not exist in a grid? Thanks.!!!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Popup Menu

Post by Scott Klement »

How do you right-click on a field that doesn't exist?
devinst
Profound User
Posts: 80
Joined: Mon Apr 20, 2009 11:26 am
First Name: Devin
Last Name: St. Germain
Company Name: Dupre Logistics, LLC
Phone: 337.314.2259
Address 1: 201 Energy Pkwy. Ste. 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

Re: Popup Menu

Post by devinst »

That would be a great trick for sure. But the field does exist, it just does not exist 'in a grid'. It is just placed on the form. Thanks.!!
devinst
Profound User
Posts: 80
Joined: Mon Apr 20, 2009 11:26 am
First Name: Devin
Last Name: St. Germain
Company Name: Dupre Logistics, LLC
Phone: 337.314.2259
Address 1: 201 Energy Pkwy. Ste. 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

Re: Popup Menu

Post by devinst »

Any advice on this? Thanks..!!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Popup Menu

Post by Scott Klement »

This is not going to be as simple as it is in a grid.

You could possibly handle this with some JavaScript code. The onclick event will fire for a right-click, and you'll need to interrogate the event properties to determine if it's a right-click or a left-click.

You would need to have a hidden menu that you dynamically show by moving the menu (changing it's left/top properties) and unhiding it. Then, you would have to hide it again after a menu item was taken, or when the user clicks somewhere else outside of the menu, etc.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests