[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-12 Thread Shai Almog
You shouldn't be able to interact with a renderer. Do you mean you don't 
see the focus behind?
It's probably because the component is opaque.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@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/c30554d8-cbbb-47f9-a874-00a0f905de75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-12 Thread shop . service . assistant
When I change the Component from AutoCompleteTextFiemd to TextArea in
protected Component createCell(Object value, final int row, final int 
column, boolean editable) method,
The text is rendered appropriately with the exception that I am not able to 
interact with the AutoCompleteTextFiemd as a pupup of suggestions when this 
column takes focus.

Thoughts?

Regards

On Thursday, April 11, 2019 at 10:26:31 PM UTC-4, Shai Almog wrote:
>
> I suggest using a single Label or TextArea instance within the renderer. 
> When you reuse the instance the renderer manipulates the component and that 
> triggers artifacts. To make the component look like AutoComplete just use 
> setUIID().
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@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/deb139b6-251c-4376-8d6e-905351b4c57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-11 Thread Shai Almog
I suggest using a single Label or TextArea instance within the renderer. 
When you reuse the instance the renderer manipulates the component and that 
triggers artifacts. To make the component look like AutoComplete just use 
setUIID().

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@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/20c5de01-ce6d-483f-9380-00be02122d95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-10 Thread Shai Almog
Did you remove the auto-complete component (or one of its parents) from the 
form dynamically?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@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/631ef81c-5545-4987-bacd-16ca2aeda599%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.