Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, November 30, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/30/2024 4:35:29 AM
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: TabControl - Changing tab names in code.
Marc Johnson
Posts: 252
TabControl - Changing tab names in code.
Posted: 02 Oct 06 7:45 AM
fiogf49gjkf0d
I found the control:
TabControl.Tabs.Caption
But I don't know what they syntax is. Unfortunately my books are at home, I haven't brought them into my new job yet. I tried ="Tab Name" but that didn't work. I'm guessing you have to specify the ActiveTabIndex in the control itself.
[
Reply
][
Quote
]
Jeremy Brayton
Posts: 491
Re: TabControl - Changing tab names in code.
Posted: 02 Oct 06 2:18 PM
fiogf49gjkf0d
Quote:
Originally posted by Marc Johnson
I found the control:
TabControl.Tabs.Caption
Is there a Caption.Name property or any Intellisense that pops up? = "Tab Name" should work and if it doesn't it may suggest that tab captions are hardcoded to use their design-time setting or that somehow your code is being called before the caption is officially set. Why not try putting in a MsgBox to see if your caption is changed during the method but reverted somewhere later in the control's lifecycle.
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: TabControl - Changing tab names in code.
Posted: 02 Oct 06 2:54 PM
fiogf49gjkf0d
"Tabs" is a collection of tabs, you have to specify the index of the tab you want to modify.
TabControl1.Tabs(1).Caption = "My New Caption"
Make sense?
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: TabControl - Changing tab names in code.
Posted: 02 Oct 06 2:58 PM
fiogf49gjkf0d
BTW, just to point out, I used an index of 1 in my sample, but the Tabs collection is a zero-based collection. Just wanted to make sure that was clear.
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: TabControl - Changing tab names in code.
Posted: 11 Mar 08 3:06 PM
OK I know I've done this before.,......but this isn't right:
tcCloneOptions.Tabs(tcIdxChooseOpp).VISIBLE = FALSE
tcCloneOptions.Tabs(tcIdxMoveOption).VISIBLE = FALSE
tcCloneOptions.Tabs(tcIdxChooseDates).VISIBLE = TRUE
tcCloneOptions.Tabs(tcIdxChooseRenewal).VISIBLE = TRUE
tcCloneOptions.Tabs(tcIdxChooseData).VISIBLE = FALSE
tcCloneOptions.Tabs(tcIdxCloneOpp).VISIBLE = TRUE
TabVisible?
[
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
|
page cache (param): 11/30/2024 4:53:20 AM