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


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

Scrolling invisible scroll bar

Started byWojtek <nowhere@a.com>
First post2013-04-25 11:24 -0700
Last post2013-04-25 11:24 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.programmer


Contents

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

#23649 — Scrolling invisible scroll bar

FromWojtek <nowhere@a.com>
Date2013-04-25 11:24 -0700
SubjectScrolling invisible scroll bar
Message-ID<mn.caac7dd418a4a17f.70216@a.com>
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 :-)

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web