Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DROP_DOWN style Combo
DROP_DOWN style Combo [message #436324] Mon, 17 May 2004 13: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 17:54 Go to previous messageGo to next message
Eclipse UserFriend
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 10:05 Go to previous messageGo to next message
Eclipse UserFriend
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 10: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: Sun Jul 06 12:05:51 EDT 2025

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

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

Back to the top