Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23649

Scrolling invisible scroll bar

From Wojtek <nowhere@a.com>
Newsgroups comp.lang.java.programmer
Subject Scrolling invisible scroll bar
Date 2013-04-25 11:24 -0700
Organization A noiseless patient Spider
Message-ID <mn.caac7dd418a4a17f.70216@a.com> (permalink)

Show all headers | View raw


I have a table holding various values. I want to have a totals area 
below the table showing, well, column totals.

I have created a table which holds the totals below the main table. The 
totals table does not have headers and the columns are aligned with the 
main table.

However when the user sizes a column to the right or sizes the form 
smaller, a horizontal scroll bar appears in the main table. Moving the 
scroll bar shifts the columns.

I want to be able to also shift the columns in the totals table, BUT I 
do not want a scroll bar in the totals table.

In a listener, when I try to set the "selection" value on the total 
table's horizontal bar I get an NPE, which makes sense as there IS no 
horizontal bar.

Is there any way to shift the columns in sync with the main table?

Oh, I'm using SWT.

-- 
Wojtek :-)

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Scrolling invisible scroll bar Wojtek <nowhere@a.com> - 2013-04-25 11:24 -0700

csiph-web