Popup Menu
-
- 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
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.!!!
-
- 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
How do you right-click on a field that doesn't exist?
-
- 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
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.!!
-
- 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
Any advice on this? Thanks..!!
-
- 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
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests