Hi
 override longPointerPress of Button as shown in below 

Button longPressedButton = new Button(){

            @Override
            public void longPointerPress(int x, int y) {
//                super.longPointerPress(x, y); //To change body of 
generated methods, choose Tools | Templates.
                System.out.println(" long pointer pressed");
            }

            
            
        };

On Wednesday, January 25, 2017 at 7:58:19 PM UTC+5:45, CODENAME1 wrote:
>
> in the button click action , event.islognpress() always returns true.
> is the button.longress functionality supported?
>

-- 
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/aba49ede-d88a-44b2-87f4-83358a84b243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to