Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 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: SetTabVisibleProperty issue
Marc Murphy
Posts: 23
 
SetTabVisibleProperty issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 07 11:07 AM
Hey guys,

SLX: 6.2.4

I use the following code to hide display / hide certain tabs based off the Account.Type field value

Application.BasicFunctions.SetTabVisibleProperty "Account:SITES", False
Application.BasicFunctions.SetTabVisibleProperty "Account:Customer", False
Application.BasicFunctions.SetTabVisibleProperty "Account:Units", True

My problem is that on accasion this code throws an error ... when i step through the code
i get an error description that one of the above lines usually the "Account:Units" line needs
"object required"

Its so strange sometimes it works and sometimes it fails anyone ever come accross anything
like this before.

im at a total loss as to why this could be happening so any idea's no matter how whacky would be
appreciated.

Marc
[Reply][Quote]
Marc Murphy
Posts: 23
 
Re: SetTabVisibleProperty issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 07 11:24 AM
just as an additional note i get the following error message

"Invalid pointer operation at line xx, char xx"

the line references the "Account:Units" tab

the tab exists and i have no issues 9 times out of 10

thanks
[Reply][Quote]
RJ Eaton
Posts: 234
 
Re: SetTabVisibleProperty issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 07 12:40 PM
Try setting, the tab the you want hidden to have focus before you hide it...
[Reply][Quote]
Marc Murphy
Posts: 23
 
Re: SetTabVisibleProperty issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 07 12:44 PM
Yeah I think your right, I worked out which tabs would be visible
depending on where you linked from and hid only those tabs that were already visible.

Currently im not getting any errors, I'll keep testing and post what my results are
[Reply][Quote]
Steve Meyers
Posts: 5
 
Re: SetTabVisibleProperty issueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Nov 08 12:33 PM
I think this is broken in 7.5. The SetTabVisibleProperty "FormName", False will hide the tab but SetTabVisibleProperty "FormName, True does not add the form back to the tab list.
[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/27/2025 2:23:19 PM