1. Scrollbar on tab

I've run into this problem with a scrollbar on a TabItem:

If you use the scrollbar arrow keys to scroll left and right, everything 
is fine. If you use the thumb and scroll right it is also ok. However, 
as soon as you scroll all the way to the left using the thumb, one of 
the Tabs on the TabControl disappears.

I see this behavior with the new Win32lib.ew v 57.5 and with every 
win32lib I have back to version 55.1.

Here is the code:

include Win32Lib.ew
without warning


constant Window1 = createEx( Window, "Window1", 0, Default, Default, 
400, 300, 0, 0 )
constant TabControl2 = createEx( TabControl, "TabControl2", Window1, 4, 
12, 300, 128, 0, 0 )
constant TabItem3 = createEx( TabItem, "TabItem3", TabControl2, 0, 0, 0, 
0, 0, 0 )
constant TabItem4 = createEx( TabItem, "TabItem4", TabControl2, 0, 0, 0, 
0, 0, 0 )
constant HScroll5 = createEx( HScroll, "HScroll5", TabItem3, 4, 108, 
296, 20, 0, 0 )

setScrollRange(HScroll5,1,100)

WinMain( Window1,Normal )

Ideas?

Judith

new topic     » topic index » view message » categorize

2. Re: Scrollbar on tab

This type of thing has been reported already (with TrackBars). The only work
around I have at the moment is to enclose the scroll bar in a Group control.
For some reason that works. I still don't have a definitive answer on this
one. I'm even suspecting a bug in the Microsoft code but of course that is
almost impossible blink

-----------
Derek
----- Original Message -----
From: "Judith" <camping at txcyber.com>
To: "EUforum" <EUforum at topica.com>
Subject: Scrollbar on tab


>
> I've run into this problem with a scrollbar on a TabItem:
>
> If you use the scrollbar arrow keys to scroll left and right, everything
> is fine. If you use the thumb and scroll right it is also ok. However,
> as soon as you scroll all the way to the left using the thumb, one of
> the Tabs on the TabControl disappears.
>
> I see this behavior with the new Win32lib.ew v 57.5 and with every
> win32lib I have back to version 55.1.
>
> Here is the code:
>
> include Win32Lib.ew
> without warning
>
>
> constant Window1 = createEx( Window, "Window1", 0, Default, Default,
> 400, 300, 0, 0 )
> constant TabControl2 = createEx( TabControl, "TabControl2", Window1, 4,
> 12, 300, 128, 0, 0 )
> constant TabItem3 = createEx( TabItem, "TabItem3", TabControl2, 0, 0, 0,
> 0, 0, 0 )
> constant TabItem4 = createEx( TabItem, "TabItem4", TabControl2, 0, 0, 0,
> 0, 0, 0 )
> constant HScroll5 = createEx( HScroll, "HScroll5", TabItem3, 4, 108,
> 296, 20, 0, 0 )
>
> setScrollRange(HScroll5,1,100)
>
> WinMain( Window1,Normal )
>
> Ideas?
>
> Judith
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Scrollbar on tab

.. actually, it hasn't disappeared, its 1 pixel wide,
and if you click on that one pixel, you'll get it back    blink

> as soon as you scroll all the way to the left using the thumb, one of 
> the Tabs on the TabControl disappears.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu