Selected only applies when you physically touch the screen in touch 
devices. Otherwise it's ignored and you will see the unselected state. 

Notice that setSelected() is a method of button for CheckBox/RadioButton 
that checks the button and unrelated to style changes. If you'll explain 
the UI you are trying to achieve I'll guide you more precisely on how to do 
that. We often just use separate UIID's and 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/9ded189d-59ab-4951-9609-e58ea95eafd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to