8/29/2025 1:33:37 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.
|
|
|
|
Setting default tab on a Main View
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?
|
|
|
|
Re: Setting default tab on a Main View
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). |
|
|
|
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!
|
|
|
|
|
|
|
|