3/14/2026 10:28:08 PM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Find out which option was selected in the popupmenu
Posted: 06 Nov 07 8:56 AM
|
hi
I am having problem identifying which option was selected from the popupmenu. I have several options there: add, edit, delete, copy service, move service. How would I know in the resulting form which option the user clicked on? Please note that I want to know which option was clicked by the user in the add/edit form that will popup as a result of the click not on the form which contains the datagrid. |
|
|
|
Re: Find out which option was selected in the popupmenu
Posted: 06 Nov 07 2:45 PM
|
I found a workaround or the correct solution (I am not sure which), anyway, it works for my problem. I added the following code:
Form1 that contains the datagrid with popupmenu: ---------------------------------------------------------- 'Store the caption value of the menu option that user clicked before calling service form Application.GlobalInfo.item("popupClick") = Item.Caption
Application.BasicFunctions.ShowViewForRecord "Table_name", "Family:Plugin Name"
Form2 that needs to know which value was clicked: ----------------------------------------------------------- In the AXFormCreate function, I added the following for testing purpose
msgbox Application.GlobalInfo.item("popupClick")
It works but please do reply if there is a better way to do this. Thanks! |
|
|
| |
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|