satabau General User

Joined: 12 Mar 2012 Posts: 34
|
Posted: Sat May 19, 2012 7:23 am Post subject: MouseClickHandler for a Cell in Calc |
|
|
Hi, I have a sheet on a calc file and I want to intercept the click of the mouse to know WHICH CELL I have clicked on. Is there a way to do this?
I've implemented an XMouseClickHandler that works but I don't understand how to know the cell
| Code: | public class MCH implements XMouseClickHandler {
public void disposing(EventObject e){//do nothing
}
public boolean mousePressed(MouseEvent m){return true;}
public boolean mouseReleased(MouseEvent arg0) { return true;}
} |
in mouseReleased I am not able to work with the MouseEvent arg0...
can you help me?
Thank you |
|