Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, June 18, 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: Adding 'More Tabs...' tab
Robby Thesman
Posts: 11
 
Adding 'More Tabs...' tabYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 07 7:10 PM
Hi,

I have a script that delete all tabs based on certain condition (including 'More Tabs...' tab) and when the condition changes I want to be able to just add the 'More Tabs...' tab. Any idea on how to do this?

Thanks.
[Reply][Quote]
Shawn O'Ferrall
Posts: 21
 
Re: Adding 'More Tabs...' tabYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 07 10:03 AM
Using the code below will show individual tabs (listed in the arguement):

Application.BasicFunctions.SetTabVisibleProperty "Account:Activities",TRUE

Or Hide them:

Application.BasicFunctions.SetTabVisibleProperty "Account:Activities",FALSE

But Moretabs isn't addressable (as far as I know), BUT using the menu option 'View' > 'Restore Default Layout' will show the Moretabs again (assuming you haven't hidden that in the mainview). The 'Restore Default Layout' menu option just calls the function 'Window:RestoreSplitter' so it stands to reason that calling that function (Application.BasicFunctions.DoInvoke?) and then showing/hiding tabs as desired will work...
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Adding 'More Tabs...' tabYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 07 10:36 AM
If this is 6.2 or higher then there might be a way to do this. I've not tried this so I can't tell you if it works or not. However, the MainView object does have a "MoreTabsVisible" property which you can set to True or False. Whether it "behaves" correctly at runtime or not is something you'll have to test.

So, if you got a reference to the MainView, you'd do something like this:

Application.MainViews.ActiveView.MoreTabsVisible = False


It *should* work, but like I said, I've not tested that at runtime.

-Ryan
[Reply][Quote]
Robby Thesman
Posts: 11
 
Re: Adding 'More Tabs...' tabYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 07 7:40 PM
Thanks Shawn & Ryan,

The environment is 7.01.
The MoreTabsVisible property is a read-only at runtime, so not much use...

I'm trying to disable/lock data input based on ticket status, and although the tabs can be hidden, user still can use 'Restore Default Layout' and be able to edit closed tickets. Is there any other elegant way to achieve this?

Thanks.
[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): 6/18/2025 4:29:29 PM