Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ScrollBar problem
ScrollBar problem [message #445359] Thu, 04 November 2004 10:04 Go to next message
Henrik Skovgaard is currently offline Henrik SkovgaardFriend
Messages: 84
Registered: July 2009
Member
Hi

I have a slight problem with getting my scrollbars to behave like I want
them to do. I think I need some guidelines here.

I am working on an application that has the following structure of the gui
(see also attached picture):

Composite
-> ToolBar
-> CTabFolder
-> CTabItem
->ScrolledComposite
->SashForm
->TableA
->TableB

First of all, the right vertical scrollbar is on TableB only - as I want it
to, but I have to scroll all the way to the right to see it. I want this
scrollbar to be visible on the right edge whenever it is needed so I don't
have to scroll to see it.

Second, when I resize the window, the horizontal scrollbar is just ignoring
this so to speak. So I have to scroll or drag the scrollbar underneath the
visible area to see the buttom of TableB (see other picture attached).

I hope some of you can give me some hints to fix this :-)

/Henrik



  • Attachment: isy.JPG
    (Size: 89.93KB, Downloaded 64 times)
  • Attachment: isy2.JPG
    (Size: 53.46KB, Downloaded 77 times)
Re: ScrollBar problem [message #445422 is a reply to message #445359] Fri, 05 November 2004 12:42 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Why are you using a ScrolledComposite here? Just let the tables provide
their own scrollbars.

"Henrik Skovgaard" <hsk@reklamedata.dk.no.spam> wrote in message
news:cmcuqc$kit$1@eclipse.org...
> Hi
>
> I have a slight problem with getting my scrollbars to behave like I want
> them to do. I think I need some guidelines here.
>
> I am working on an application that has the following structure of the gui
> (see also attached picture):
>
> Composite
> -> ToolBar
> -> CTabFolder
> -> CTabItem
> ->ScrolledComposite
> ->SashForm
> ->TableA
> ->TableB
>
> First of all, the right vertical scrollbar is on TableB only - as I want
> it to, but I have to scroll all the way to the right to see it. I want
> this scrollbar to be visible on the right edge whenever it is needed so I
> don't have to scroll to see it.
>
> Second, when I resize the window, the horizontal scrollbar is just
> ignoring this so to speak. So I have to scroll or drag the scrollbar
> underneath the visible area to see the buttom of TableB (see other picture
> attached).
>
> I hope some of you can give me some hints to fix this :-)
>
> /Henrik
>
>
Re: ScrollBar problem [message #445433 is a reply to message #445422] Fri, 05 November 2004 14:21 Go to previous message
Henrik Skovgaard is currently offline Henrik SkovgaardFriend
Messages: 84
Registered: July 2009
Member
"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:cmfsi1$49p$2@eclipse.org...
> Why are you using a ScrolledComposite here? Just let the tables provide
> their own scrollbars.

I want the two tables to be scrolled at the same time. So scrolling the
lowest scrollbar alsp scrolls the uppermost table.

/Henrik
Previous Topic:Continue the control resize problem, Can anyone tell me that whether or not the nested composite hav
Next Topic:How To Remove a Column from a Table
Goto Forum:
  


Current Time: Tue Oct 20 12:33:39 GMT 2020

Powered by FUDForum. Page generated in 0.02188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top