SSTab Control Problems and TabStrip Question 
Author Message
 SSTab Control Problems and TabStrip Question

Using VB 5.0 and SSTab. After adding a third and fourth tab to two that
already existed. I started getting strange behavior. In the IDE, everything
was fine; when I ran the program and clicked on the third tab, the controls
from tab 1 were visible under the controls on tab 3. I tried Form.Refresh,
but that didn't help.

Any suggestions? I haven't used SSTab before; maybe I'm missing something.

Now, for TabStrip. I am switching to this unless I can get SSTab and I'm
using it with a control array of frames. I'm using the .Selected.Index to
make the correct frame visible and the current frame invisible.

However, on one frame, I want to be able to click a control that switches to
another frame. I can't find a way to set which TabStrip button is pressed,
without actully clicking it.

The tab I want to set as the current tab has a shortcut key of &S. I sent
this with SendKeys("%(S)"). This worked, but caused ANOTHER problem, it cuts
the NUMLOCK off. Why?

This is ridiculous.



Tue, 22 May 2001 03:00:00 GMT  
 SSTab Control Problems and TabStrip Question
On Fri, 4 Dec 1998 23:51:26 -0500, "Alan Questell"

Quote:

>Using VB 5.0 and SSTab. After adding a third and fourth tab to two that
>already existed. I started getting strange behavior. In the IDE, everything
>was fine; when I ran the program and clicked on the third tab, the controls
>from tab 1 were visible under the controls on tab 3. I tried Form.Refresh,
>but that didn't help.

>Any suggestions? I haven't used SSTab before; maybe I'm missing something.

>Now, for TabStrip. I am switching to this unless I can get SSTab and I'm
>using it with a control array of frames. I'm using the .Selected.Index to
>make the correct frame visible and the current frame invisible.

>However, on one frame, I want to be able to click a control that switches to
>another frame. I can't find a way to set which TabStrip button is pressed,
>without actully clicking it.

>The tab I want to set as the current tab has a shortcut key of &S. I sent
>this with SendKeys("%(S)"). This worked, but caused ANOTHER problem, it cuts
>the NUMLOCK off. Why?

>This is ridiculous.

Alan,

I find that you have to "set" the tab to start sithe, by having it as
the last tab accessed at design time.

As for tabstrip, I'm sorry--but I've never used it.

Allen J. Bennett



Wed, 23 May 2001 03:00:00 GMT  
 SSTab Control Problems and TabStrip Question
No, what is happening is that as I change tabs, controls from another tab
page are still visible under the correct controls for that tab page. It
looks fine as you change tabs in the IDE.
Quote:

>I find that you have to "set" the tab to start sithe, by having it as
>the last tab accessed at design time.

>As for tabstrip, I'm sorry--but I've never used it.

>Allen J. Bennett



Wed, 23 May 2001 03:00:00 GMT  
 SSTab Control Problems and TabStrip Question
..Snip..

Quote:
>>Now, for TabStrip. I am switching to this unless I can get SSTab and I'm
>>using it with a control array of frames. I'm using the .Selected.Index to
>>make the correct frame visible and the current frame invisible.

>>However, on one frame, I want to be able to click a control that switches
to
>>another frame. I can't find a way to set which TabStrip button is pressed,
>>without actully clicking it.

Hi,
I use this code in my app to 'click' on a tab without actually clicking it:
    TabStrip1.Tabs(1).Selected = True
Depending on the number of tabs you have...the number inside the brackets
can be any tab you want 'clicking'.

Hope this helps

Craig
remove WE HATE SPAM to reply
www.cmeproducts.freeserve.co.uk
Home of CopyText



Wed, 23 May 2001 03:00:00 GMT  
 SSTab Control Problems and TabStrip Question
That's exactly what I need. Is that in the help file? I couldn't find it
anywhere.
Quote:

>I use this code in my app to 'click' on a tab without actually clicking it:
>    TabStrip1.Tabs(1).Selected = True
>Depending on the number of tabs you have...the number inside the brackets
>can be any tab you want 'clicking'.

>Hope this helps

>Craig
>remove WE HATE SPAM to reply
>www.cmeproducts.freeserve.co.uk
>Home of CopyText



Wed, 23 May 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. SSTab/TabStrip Controls

2. Control TabStrip or SSTab ?

3. TabStrip vs. SSTab Control

4. Control SSTab or TabStrip ?

5. Which Tab Control is better: TabStrip or SSTab?

6. Difference of SSTab & TabStrip

7. Using TabStrip/SSTab to dynamically load frames

8. sstab or tabstrip

9. SSTab or TabStrip, which one ?

10. Tabstrip vs SSTAB

11. Tabstrip vs SSTAB

12. Difference between TabStrip and SSTab

 

 
Powered by phpBB® Forum Software