Quote:
>Peter,
>Thanks for the reply, but your code does not seem to work either. I changed the
>.TabCaption to .Caption to get it to compile, but with no success.
>My code looks like this.....
Hi Mick:
Since I don't use this Tab control I'm only guessing but the Video
Soft Tabs are accessed as an array.
Like this. It would also explaing why you could set the first one and
not the others (i.e. being the 1st it is the default).
SSTab1.Tab(1) = 0
SSTab1.Caption(1) = "Tab1"
SSTab1.Tab(2) = 1
SSTab1.Caption(2) = "Tab2"
Also I don't rember if they are base 0 or base 1.
Quote:
>SSTab1.Tab = 0
>SSTab1.Caption = GetSetting("c:\\vb\\infoeye.ini", "Tab 1", "TabName", "General1")
>SSTab1.Tab = 1
>SSTab1.Caption = GetSetting("c:\\vb\\infoeye.ini", "Tab 2", "TabName", "General1")
>SSTab1.Tab = 2
>SSTab1.Caption = GetSetting("c:\\vb\\infoeye.ini", "Tab 3", "TabName", "General1")
>I'm using VB 4.0 (don't know if that makes a difference).
Jim Huguley
* Those who sit and think *
* Mostly sit *