Scrollbar on tab
- Posted by Judith <camping at txcyber.com> May 12, 2002
- 380 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