Thanks, that worked well.

I had actually looked for a get method that would return the button, I 
can't believe I mist the find method, it was right there :-)

On Friday, August 23, 2019 at 9:35:00 PM UTC-7, Shai Almog wrote:
>
> Hi,
> you can use toolbar.findCommandComponent(command); This will return a 
> button to which you can bind a long press listener.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7cb2bbaa-4a43-4cbf-898a-b21a2f282210%40googlegroups.com.

Reply via email to