Home All Groups Group Topic Archive Search About

Tab Strip: how to refresh tabs?

Author
22 Oct 2005 8:06 PM
Jack
Part of  visible tabs are covered by another control.
When resizing window that another control changes position but the tabs
which were covered by it are not refreshed (are not visble at all) after
Tabs.Refresh.
What else can I do?

Author
24 Oct 2005 2:43 PM
Ken Halter
"Jack" <replyto@newsgroup> wrote in message
news:etJRpQ01FHA.3180@TK2MSFTNGP14.phx.gbl...
> Part of  visible tabs are covered by another control.
> When resizing window that another control changes position but the tabs
> which were covered by it are not refreshed (are not visble at all) after
> Tabs.Refresh.
> What else can I do?

What tab control are you using that has a Tabs.Refresh method? None that
come with VB6 do.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Are all your drivers up to date? click for free checkup

Author
24 Oct 2005 3:53 PM
Bob Butler
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:e9vuHlK2FHA.2940@TK2MSFTNGP12.phx.gbl
> "Jack" <replyto@newsgroup> wrote in message
> news:etJRpQ01FHA.3180@TK2MSFTNGP14.phx.gbl...
>> Part of  visible tabs are covered by another control.
>> When resizing window that another control changes position but the
>> tabs which were covered by it are not refreshed (are not visble at
>> all) after Tabs.Refresh.
>> What else can I do?
>
> What tab control are you using that has a Tabs.Refresh method? None
> that come with VB6 do.

The TabStrip does

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
24 Oct 2005 4:58 PM
Ken Halter
"Bob Butler" <tiredofit@nospam.com> wrote in message
news:eSrcTML2FHA.556@TK2MSFTNGP12.phx.gbl...
>
> The TabStrip does
>
> --
> Reply to the group so all can participate
> VB.Net: "Fool me once..."

hmmm... hidden method maybe? Just tried again and no refresh method shows in
intellisense.

TabStrip1.Tabs. just gives me the usual Add/Clear/Count/Item/Remove items
showing in intellisense.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
24 Oct 2005 5:06 PM
Bob Butler
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:Oo9yvwL2FHA.460@TK2MSFTNGP15.phx.gbl
> "Bob Butler" <tiredofit@nospam.com> wrote in message
> news:eSrcTML2FHA.556@TK2MSFTNGP12.phx.gbl...
>>
>> The TabStrip does
>
> hmmm... hidden method maybe? Just tried again and no refresh method
> shows in intellisense.
>
> TabStrip1.Tabs. just gives me the usual Add/Clear/Count/Item/Remove
> items showing in intellisense.

I'm assuming that the OP has a Tabstrip control named "Tabs" so

Tabs.Refresh

not

Tabstrip1.Tabs.Refresh

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
24 Oct 2005 5:26 PM
vbexp
Try the following(it may or may not work):

- Click on the TabStrip control.
- Go to Format|Order|Bring to Front.

Your other option is to fix the resize routine...


Show quoteHide quote
"Jack" <replyto@newsgroup> wrote in message
news:etJRpQ01FHA.3180@TK2MSFTNGP14.phx.gbl...
> Part of  visible tabs are covered by another control.
> When resizing window that another control changes position but the tabs
> which were covered by it are not refreshed (are not visble at all) after
> Tabs.Refresh.
> What else can I do?
>
Author
25 Oct 2005 12:06 PM
J French
On Sat, 22 Oct 2005 16:06:58 -0400, "Jack" <replyto@newsgroup> wrote:

>Part of  visible tabs are covered by another control.
>When resizing window that another control changes position but the tabs
>which were covered by it are not refreshed (are not visble at all) after
>Tabs.Refresh.
>What else can I do?

MS Tabs are rubbish and the SuperSoft (ssTab) that MS distribute is
pretty cr*ppy.

The way I avoided the dread overhead of an OCX and the nightmare of
workarounds for NMH utilities is :

www.jerryfrench.co.uk/etabsim.htm

A pure VB UserControl that just paints the tabs on the face of the
UserControl

No OCX - and you can modify the source as much as you like

My tip is host the 'pages' on UserControls or Frames
- Frames are really fast for swapping

Bookmark and Share