Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 23, 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: Opportunity Snapshot
Renee Bender
Posts: 74
 
Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Apr 08 1:07 PM
My sales department would like to have the Opportunity Snapshot hidden because they usually don't use the information there. Then maybe add a button that they could click if they want to see it. Does anyone know if there is a way to hide this and add a button to make if visible again? I am currently working on version 6.2.6.
Thanks in advance!
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Apr 08 1:52 AM
You can remove it from the NavBar and add it as a button to Toolbar, just follow the same settings as the NavrBar.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Apr 08 1:52 AM
Or, as you say, as a button - you just call the releveant view etc. from the button.
[Reply][Quote]
Robert Levine
Posts: 132
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Apr 08 12:43 PM
An alternative approach which I've used is to hide the spapshot's panel (visible = False), and add a right click option (ie: the pop-up menu) to the Opportunity Detail view to then display the hidden panel.
[Reply][Quote]
Renee Bender
Posts: 74
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Apr 08 9:58 AM
Thanks for all of your help! I have it working now! You guys are just awesome!
[Reply][Quote]
Renee Bender
Posts: 74
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Apr 08 7:21 AM
I managed to get this working with a button that hides a panel. I do have another question though, can someone explain how the pop-up menu works? I have to add a new item to it that will display a new form. After looking at the current coding for this pop-up menu I just don't understand how the system knows what to do. I know that this is probably basic stuff, but I am very new at this.
Thanks,
Renee
This is the code:
Sub grdHistoryPopupMenuClick(Sender, Item)

PopupMenuClick Sender, Item
CommonCheckBoxChange Sender
grdHistoryChangeNode grdHistory.GetCurrentField
End Sub
Sub CheckBoxChange(Sender)
CommonCheckBoxChange Sender
memNotes.Text = HistoryChangeNode(grdHistory.GetCurrentField("HISTORYID")) 'DNL
End Sub
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Opportunity SnapshotYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Apr 08 11:11 AM
The popupmenu OnClick event is fired whenever you click on one of the menu items. Usually I'll want to filter it so that I only use code when the "Clone" item is selected. I use a select case Item.MenuIndex and start at case 4 on a standard grid. That's because 0-3 are the Add, Edit, Delete, and Separator items respectively. I use MenuIndex because localization would change "Add" to something else in another language.

The code you pasted looks like it's doing some standard calls. PopupMenu Sender, Item is a straight pass through, as is CommonCheckBoxChange, all three routines likely being in one of the include scripts. Usually I'd leave them alone unless you really need to alter their behavior. Most of the time you're fine just tacking your code onto the end of their routine if it's something minor.
[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): 8/23/2025 10:24:33 AM