Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to create a table column with ONLY a check box in it ??
How to create a table column with ONLY a check box in it ?? [message #449794] Sat, 29 January 2005 08:46 Go to next message
Eclipse UserFriend
Originally posted by: gilblais.yahoo.com

I need to prefix table items with a series of check boxes and can't seem to
get the right combination. Any help is appreciated. Thanks, Gil Blais
Re: How to create a table column with ONLY a check box in it ?? [message #449955 is a reply to message #449794] Tue, 01 February 2005 14:40 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Gil,

You can only do this with the first column in the Table. Create the Table
with style SWT.CHECK, and pack() the first TableColumn. Putting multiple
checkboxes in a TableItem is not supported.

Grant

"Gil Blais" <gilblais@yahoo.com> wrote in message
news:ctfiga$atn$1@www.eclipse.org...
> I need to prefix table items with a series of check boxes and can't seem
to
> get the right combination. Any help is appreciated. Thanks, Gil Blais
>
>
Re: How to create a table column with ONLY a check box in it ?? [message #449991 is a reply to message #449794] Thu, 03 February 2005 14:15 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
A TableItem can only have one checkbox associated with it (the one provided
by creating the Table with style SWT.CHECK). If you want this checkbox to
be in its own column then create a TableColumn and pack() it, and put all
table content in columns 2+.

Grant

"Gil Blais" <gilblais@yahoo.com> wrote in message
news:ctfiga$atn$1@www.eclipse.org...
> I need to prefix table items with a series of check boxes and can't seem
to
> get the right combination. Any help is appreciated. Thanks, Gil Blais
>
>
Previous Topic:Accepting multiple transfertypes from a single drag source
Next Topic:Bug with Table (?)
Goto Forum:
  


Current Time: Sat Apr 27 01:05:44 GMT 2024

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

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

Back to the top