You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
Hi, how I can remove all commands in a Toolbar? The removeAllCommands function in Form doesn't work. Also I need delete only one command of the SideBar, how I can do it?
Thanks.
Shai Almog
unread,
Sep 28, 2016, 12:09:39 AM9/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
Hi, removeAllCommands() should work. Is it leaving all commands or just some of them? Did you call revalidate() after?
Ulises Escobar
unread,
Oct 5, 2016, 5:16:49 PM10/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
The following code:
removeAllCommands(); revalidate();
doesn't remove sideCommands. I tried a workaround using setToolbar(new Toolbar()); but after a few calls the components in the form stop showing.
Shai Almog
unread,
Oct 5, 2016, 11:10:29 PM10/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
As far as I can tell these should work, are you using custom components?