TextField inputType issue

26 views
Skip to first unread message

Chika Agbo

unread,
May 17, 2017, 12:31:46 PM5/17/17
to CodenameOne Discussions
TextField tn = new TextField(TextField.ANY);
TextField tn = new TextField(TextField.NUMERIC);

The code above is stoping my form or Dialog from displaying. Am using latest version of the codenameone. What's wrong with the above code construct

Shai Almog

unread,
May 18, 2017, 1:23:09 AM5/18/17
to CodenameOne Discussions
The constructor you used accepts the number of columns not the constraint.

Chika Agbo

unread,
May 18, 2017, 10:10:56 AM5/18/17
to codenameone...@googlegroups.com
please how can I make my TextField password type to not show clear text on typing mode

On May 18, 2017 6:23 AM, "Shai Almog" <shai....@gmail.com> wrote:
The constructor you used accepts the number of columns not the constraint.

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/_C3UPynet1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discussions+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1ca23485-bc5d-4be9-85b4-3b6dfe41f05b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shai Almog

unread,
May 19, 2017, 12:41:14 AM5/19/17
to CodenameOne Discussions
tf.setConstraint(TextField.PASSWORD);


Reply all
Reply to author
Forward
0 new messages