[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Custom popup menu with Combo

Take a look at the source of the CCombo class in the custom package.
You should be able to adapt it for what you want. Just display your
calendar table in the popup shell in place of the list.

Cheers,

Alun

<jpan@xxxxxxxxxxxx> wrote:

> Hi,

> I'm trying to create a Calendar control that looks like a Combo, with the
> date given in the Text portion, and that when a user clicks on the control,
> display a popup menu with a little monthly calendar (in a table-format), and
> when the user clicks on the popup menu (again, the table), get the selected
> date and display it in the Text portion control.

> Pretty simple, really, except I don't know how to get popups at all...
> please help!

> Thank you,

> -jp