Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 8, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Find out which option was selected in the popupmenu
muni1900
Posts: 21
 
Find out which option was selected in the popupmenuYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
muni1900
Posts: 21
 
Re: Find out which option was selected in the popupmenuYour last visit to this thread was on 1/1/1970 12:00:00 AM
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!
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Find out which option was selected in the popupmenuYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jan 10 3:22 PM
Duplicate post.....
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Find out which option was selected in the popupmenuYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jan 10 3:24 PM
Sub grdLASPopupMenuClick (Sender, Item)

CopySitesIndex = Sender.PopupMenu.Find("Copy Site(s)").MenuIndex

SELECT CASE Item.MenuIndex
CASE CopySitesIndex
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/8/2025 12:18:05 PM