1. Scrollbar on tab
- Posted by Judith <camping at txcyber.com> May 12, 2002
- 406 views
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
2. Re: Scrollbar on tab
- Posted by Derek Parnell <ddparnell at bigpond.com> May 12, 2002
- 392 views
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 ----------- 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 > > > >
3. Re: Scrollbar on tab
- Posted by Wolf <wolfritz at KING.IGS.NET> May 12, 2002
- 405 views
.. actually, it hasn't disappeared, its 1 pixel wide, and if you click on that one pixel, you'll get it back > as soon as you scroll all the way to the left using the thumb, one of > the Tabs on the TabControl disappears.