Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: Setting default tab on a Main View
Jeff L
Posts: 65
 
Setting default tab on a Main ViewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 09 5:07 PM
This may be simple but please bare with me.

When a user initiates a MainView, how can I, via code, force the active tab to what my client has asked me to set as default.

Here is what happens. For example a user is on the Contact detail screen and selects my custom tab 'Open Orders'. This tab calls a .Net module I wrote that retrieves data from an IBM UniData database for this contact. This module resides in the tab called 'Open Orders' on the Contact detail screen. This process can take a while to load.

User then switches to a new contact, as the last tab accessed was the 'Open Orders' tab, this becomes the active tab for the new contact also. User is forced to wait until the data loads.

Can I make the standard 'Detail' tab to always be the active tab when the Contact Detail main view is loaded or refreshed?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Setting default tab on a Main ViewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Sep 09 5:29 AM
You may be able to programatically change the Tab, but it may be after the existing tab has started to load.

As an alternative, knowing that the "Open Orders" tab takes a while to load data and that you rather not load it accidentally, why don't you put a Load/Refresh button on it so that the data is loaded on the user's request rather than automatically?

Or, add a prompt to the Load event so that you give the user's a chance to cancel loading that data (specially if the Contact ID is changing, which would indicate that the user is navigating from one contact to another).
[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/29/2025 2:01:34 PM