[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Regarding Spinner widget in latest SWT swt-3.1M4-win32
|
To get the current value, use Spinner.getSelection(). To set a specific
value (e.g. the default) use Spinner.setSelection(int).
"Neha Yadav" <neha_yadav@xxxxxxxxxxxxxxxx> wrote in message
news:d073tp$h21$1@xxxxxxxxxxxxxxxxxx
> Hi All,
>
> I used the Spinner widget provided in the latest SWT jar but I am facing
> the
> following problems:
>
> 1.) It doesnt allow me to set a default value, i can only set min, max and
> increment values
> 2.) I cannot get the value which is very strange
>
> Has anyone tried this new widget? If not, then please let me know of an
> alternative.
>
> I had previously used a Spinner widget provided by
> org.eclipse.hyades.statistical.ui.widgets.spinner.internal.Spinner;
>
> which had resizing problem when its value changed from say 0 to 999
>
> Regards,
> Neha Yadav.
>
>