Question

How can I capture select, drag & log press event on CodeName One?

protected void handleComponentAction(Component c, ActionEvent event) 

This method is capturing only click event of button (Not capturing for Label) & not other.

Was it helpful?

Solution

Override pointerPressed/Released/Dragged or use the proper listeners in the form class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top