Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DROP_DOWN style Combo
DROP_DOWN style Combo [message #436324] Mon, 17 May 2004 17:54 Go to next message
Eclipse UserFriend
Originally posted by: thatton2000.yahoo.com

What exactly is the effect of the DROP_DOWN style upon a Combo? I see no
difference in a Combo created with:

final Combo c = new Combo(s, SWT.SINGLE | SWT.BORDER);

and one created with:

final Combo c = new Combo(s, SWT.DROP_DOWN | SWT.SINGLE | SWT.BORDER);

Thanks,

Tim Hatton
Re: DROP_DOWN style Combo [message #436325 is a reply to message #436324] Mon, 17 May 2004 21:54 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Not sure exactly what you're looking at, but it sounds like you're
running on a platform which doesn't support a certain type of Combo. As
such, you wouldn't see a difference between the DROP_DOWN Combo and a
regular Combo. Try it on another platform if you have access to one.

Daniel

Tim Hatton wrote:

>What exactly is the effect of the DROP_DOWN style upon a Combo? I see no
>difference in a Combo created with:
>
>final Combo c = new Combo(s, SWT.SINGLE | SWT.BORDER);
>
>and one created with:
>
>final Combo c = new Combo(s, SWT.DROP_DOWN | SWT.SINGLE | SWT.BORDER);
>
>Thanks,
>
>Tim Hatton
>
>
>
Re: DROP_DOWN style Combo [message #436392 is a reply to message #436324] Tue, 18 May 2004 14:05 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Tim,

DROP_DOWN is the default Combo style, so if it's not in the OR'd set of
style bits that you pass to the Combo constructor then it is assumed unless
you specified SIMPLE.

Grant

"Tim Hatton" <thatton2000@yahoo.com> wrote in message
news:c8au9i$o71$1@eclipse.org...
> What exactly is the effect of the DROP_DOWN style upon a Combo? I see no
> difference in a Combo created with:
>
> final Combo c = new Combo(s, SWT.SINGLE | SWT.BORDER);
>
> and one created with:
>
> final Combo c = new Combo(s, SWT.DROP_DOWN | SWT.SINGLE | SWT.BORDER);
>
> Thanks,
>
> Tim Hatton
>
Re: DROP_DOWN style Combo [message #436394 is a reply to message #436392] Tue, 18 May 2004 14:27 Go to previous message
Eclipse UserFriend
Originally posted by: thatton2000.yahoo.com

Thanks. That's what I thought it would turn out to be.

Tim

Grant Gayed wrote:

> Tim,

> DROP_DOWN is the default Combo style, so if it's not in the OR'd set of
> style bits that you pass to the Combo constructor then it is assumed unless
> you specified SIMPLE.

> Grant

> "Tim Hatton" <thatton2000@yahoo.com> wrote in message
> news:c8au9i$o71$1@eclipse.org...
> > What exactly is the effect of the DROP_DOWN style upon a Combo? I see no
> > difference in a Combo created with:
> >
> > final Combo c = new Combo(s, SWT.SINGLE | SWT.BORDER);
> >
> > and one created with:
> >
> > final Combo c = new Combo(s, SWT.DROP_DOWN | SWT.SINGLE | SWT.BORDER);
> >
> > Thanks,
> >
> > Tim Hatton
> >
Previous Topic:why no line display
Next Topic:ActiveX on PocketPC
Goto Forum:
  


Current Time: Tue Apr 23 14:58:35 GMT 2024

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

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

Back to the top