SStab Problem 
Author Message
 SStab Problem

Hi All

VB6 SP5 I am trying to use the sstab control. I place it
on my form and put controls in it. All the controls are
visible is all the tabs. When I move the tab control the
controls I put in it do not follow. This leads me to
believe that is not in the tab control. Any clue why.
This seem to be simple but I just can't get it to work

Thanks for any help

John



Mon, 18 Jul 2005 05:19:22 GMT  
 SStab Problem
Sounds like they're not contained by the SSTab... or that you're really using the TabStrip
control. You can't double-click the toolbox to add controls to a container. You'll have to
select the control and "draw" it on the container.

If you run this code, it'll go through all controls and show their container names. Look
for SSTab1 in the list (if that's what your tab control is named)
'==========
Option Explicit

Private Sub Form_Load()
   Dim c As Control
   For Each c In Controls
      Debug.Print c.Container.Name
   Next
End Sub
'==========

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com - Please keep it in the groups..


Quote:
> Hi All

> VB6 SP5 I am trying to use the sstab control. I place it
> on my form and put controls in it. All the controls are
> visible is all the tabs. When I move the tab control the
> controls I put in it do not follow. This leads me to
> believe that is not in the tab control. Any clue why.
> This seem to be simple but I just can't get it to work

> Thanks for any help

> John



Mon, 18 Jul 2005 05:35:58 GMT  
 SStab Problem
Yep, I was not drawing the control I was just double
clicking it

Thanks for the help

John

Quote:
>-----Original Message-----
>Sounds like they're not contained by the SSTab... or

that you're really using the TabStrip
Quote:
>control. You can't double-click the toolbox to add

controls to a container. You'll have to
Quote:
>select the control and "draw" it on the container.

>If you run this code, it'll go through all controls and

show their container names. Look
Quote:
>for SSTab1 in the list (if that's what your tab control
is named)
>'==========
>Option Explicit

>Private Sub Form_Load()
>   Dim c As Control
>   For Each c In Controls
>      Debug.Print c.Container.Name
>   Next
>End Sub
>'==========

>--
>Ken Halter - MS-MVP-VB - http://www.vbsight.com - Please

keep it in the groups..
Quote:



>> Hi All

>> VB6 SP5 I am trying to use the sstab control. I place
it
>> on my form and put controls in it. All the controls are
>> visible is all the tabs. When I move the tab control
the
>> controls I put in it do not follow. This leads me to
>> believe that is not in the tab control. Any clue why.
>> This seem to be simple but I just can't get it to work

>> Thanks for any help

>> John

>.



Mon, 18 Jul 2005 06:27:45 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SStab Problem - Dragover event

2. SSTab Problem

3. SStab Problem - Drag and Drop

4. SSTAB problem

5. SSTAB:Problem with creating tabs at runtime

6. SSTab problem

7. Horrendous SStab problems

8. SSTab problems

9. SSTab problem

10. SSTab Problem/Queston.

11. SSTab problem

12. SSTab problem

 

 
Powered by phpBB® Forum Software