Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 30, 2024 
 
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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: SLX 7.1 TabControl (Editing different tabs)
Andrew Fink
Posts: 41
 
SLX 7.1 TabControl (Editing different tabs)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 08 7:57 PM
Just wondering,
Is there an easier way to work with the tab control? As of right now I am using If/Then and Select Case statements to show or hide controls based on the ActiveTabIndex. Seems like there should be a way in Architect to say go to Tab(1) and drop all the controls on that tab. Then go to the next and drop different controls on that tab. Is this possible?

Thanks,
Andrew
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: SLX 7.1 TabControl (Editing different tabs)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Apr 08 9:22 PM
Andrew, I recommend you add a panel for each tab you have. You will need to change the design time TabIndex/ActiveIndex/whatever it is so that you can add controls to each tab. Then place your controls on the appropriate tab's panel.

Timmus
[Reply][Quote]
Andrew Fink
Posts: 41
 
Re: SLX 7.1 TabControl (Editing different tabs)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Apr 08 8:56 AM
Awesome. Thanks for the quick response!
[Reply][Quote]
Shawn O'Ferrall
Posts: 21
 
Re: SLX 7.1 TabControl (Editing different tabs)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Apr 08 1:03 PM
I don't have 7.1 to play with (just 6.2 and 7.2) but you shouldn't need any if/then or Case logic to change the controls on the tabs (so this could be a 7.1 thing I don't understand). In Architect, select the tab control, change the ActiveTabIndex and put your controls there. Then change the ActiveTabIndex again to go to the next/previous tab. The tab controls will automatically display the controls you placed on each activetab at run time.

Even so, putting controls on panels is usually a good idea as long as you understand the drawbacks.
[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 © 2024 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): 11/30/2024 4:31:58 AM