SSTAB problem 
Author Message
 SSTAB problem

Ok this one is alittle weird. I have a SSTAB on a form. I want the user
in the Properties of the program to select which tab they want to default
when they open that window. In the LOAD of the form with the tabs I have :

LogTab.Tab = LogTabIndex

But when I load the window up, the whole tab is blank. If I click on the
other two tabs it's fine.  If I go into the Properties of the program and
change the default from tab 0 to tab 1 then tab 1 is blank and tab 0 is
back to normal.
When I mean blank, I don't see any of the other controls such as labels,
textboxes and so on.

Is there a bug or am I doing something wrong here??

--

Brampton, Ontario. SWLOGit - The Ultimate Shortwave Listeners Software
ftp.{*filter*}ia.edu  /pub/swlogit/
http://www.*-*-*.com/ ~saturn/SWLOGit.html (SWLOGit Web Page)
ICQ: 4422700



Mon, 15 May 2000 03:00:00 GMT  
 SSTAB problem

SSTab is a little weird, is all. You MUST be sure that you draw controls
directly on the tab -- do not double-click in the toolbox, which places controls
on the form. Better yet, draw a picture box on each tab and draw the contrtols
in the picture box.  Set the ppicture boxes Visible = False.

I use a control array of picture boxes, with pixTab(0) on Tab 0, pixTab(1) on
Tab 1, etc. Then, in SSTab1.Click:

pixTab(SSTab1.PrevioousTab.Visible = False
pixTab(SSTab1.SelectedTab).Move SSTab1.ScaleLeft, _
  SSTab1.ScaleTop - SSTab1.TabHeight, _
  SSTab1.ScaleWidth,  _
  SSTab1.ScaleHeight - SSTab1.TabHeight
pixTab(SSTab1.SelectedTab.Visible = True

I started doing this when the VB4 version of SSTab was moving controls to -72000
left.

  >
  >Ok this one is alittle weird. I have a SSTAB on a form. I want the user
  >in the Properties of the program to select which tab they want to default
  >when they open that window. In the LOAD of the form with the tabs I have :
  >
  >LogTab.Tab = LogTabIndex
  >
  >But when I load the window up, the whole tab is blank. If I click on the
  >other two tabs it's fine.  If I go into the Properties of the program and
  >change the default from tab 0 to tab 1 then tab 1 is blank and tab 0 is
  >back to normal.
  >When I mean blank, I don't see any of the other controls such as labels,
  >textboxes and so on.
  >
  >Is there a bug or am I doing something wrong here??
  >
  >
  >--

  >Brampton, Ontario. SWLOGit - The Ultimate Shortwave Listeners Software
  >ftp.{*filter*}ia.edu  /pub/swlogit/
  > http://www.*-*-*.com/ ~saturn/SWLOGit.html (SWLOGit Web Page)
  >ICQ: 4422700

  >
  >
  >



Mon, 15 May 2000 03:00:00 GMT  
 SSTAB problem

I figured out that if I place LogTab.Tab = 1 in the FORM_ACTIVE it works
placing it in FORM_LOAD it doesn't.

Quote:

> SSTab is a little weird, is all. You MUST be sure that you draw controls
> directly on the tab -- do not double-click in the toolbox, which places controls
> on the form. Better yet, draw a picture box on each tab and draw the contrtols
> in the picture box.  Set the ppicture boxes Visible = False.
> I use a control array of picture boxes, with pixTab(0) on Tab 0, pixTab(1) on
> Tab 1, etc. Then, in SSTab1.Click:
> pixTab(SSTab1.PrevioousTab.Visible = False
> pixTab(SSTab1.SelectedTab).Move SSTab1.ScaleLeft, _
>   SSTab1.ScaleTop - SSTab1.TabHeight, _
>   SSTab1.ScaleWidth,  _
>   SSTab1.ScaleHeight - SSTab1.TabHeight
> pixTab(SSTab1.SelectedTab.Visible = True
> I started doing this when the VB4 version of SSTab was moving controls to -72000
> left.

>   >Ok this one is alittle weird. I have a SSTAB on a form. I want the user
>   >in the Properties of the program to select which tab they want to default
>   >when they open that window. In the LOAD of the form with the tabs I have :

>   >LogTab.Tab = LogTabIndex

>   >But when I load the window up, the whole tab is blank. If I click on the
>   >other two tabs it's fine.  If I go into the Properties of the program and
>   >change the default from tab 0 to tab 1 then tab 1 is blank and tab 0 is
>   >back to normal.
>   >When I mean blank, I don't see any of the other controls such as labels,
>   >textboxes and so on.

>   >Is there a bug or am I doing something wrong here??

>   >--

>   >Brampton, Ontario. SWLOGit - The Ultimate Shortwave Listeners Software
>   >ftp.{*filter*}ia.edu  /pub/swlogit/
>   > http://www.*-*-*.com/ ~saturn/SWLOGit.html (SWLOGit Web Page)
>   >ICQ: 4422700




Mon, 15 May 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SStab Problem - Dragover event

2. SSTab Problem

3. SStab Problem - Drag and Drop

4. SSTAB:Problem with creating tabs at runtime

5. SSTab problem

6. Horrendous SStab problems

7. SSTab problems

8. SSTab problem

9. SSTab Problem/Queston.

10. SStab Problem

11. SSTab problem

12. SSTab problem

 

 
Powered by phpBB® Forum Software