Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Eclipse Forms and Nebula FormattedText

Nothing :-) (maybe the OS and Eclipse-Version would help)

Tom

Marcelo Alcantara schrieb:
Hi Tom,

I will begin posting there from now on.

What you need besides the snippet I posted?

Thanks in advance.

Marcelo

On Tue, Jun 10, 2008 at 11:49 AM, Tom Schindl <listom@xxxxxxxxxxxxxxx> wrote:
Please ask user questions on the newsgroup. Could you by chance provide a
snippet so that i gets easier for us to run and see what's going wrong?

Tom

Marcelo Alcantara schrieb:
Hi,

I am trying to use the FormattedText with Eclipse Forms.

My code to render the text field look like this:

           text_4 = toolkit.createText(body, null, SWT.BORDER);
           text_4.setBounds(427, 58, 92, 21);
           FormattedText text10 = new FormattedText(text_4);
           NumberFormatter formatter = new NumberFormatter();
           formatter.setFixedLengths(false, true);
           text10.setFormatter(formatter);
           text10.setValue(new Double(123.4));

It shows the text field, but no formatting is being shown. Neither the
default value appears.

Somebody can give me some help on this?

I searched the net and this forum, but could not find anything related
to this issue.

Thanks in advance.

Marcelo
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev







Back to the top