add new event

I would find it very useful to have an event that would run a method when the user double clicks on a record in a list view.

I currently use the OnRecordSelection event, but it would be nice if the user could hightlight the row with one click, and run a seperate event with a double click to drill down on detail information.

Maybe there is a workaround for this or another way to accomplish this that I am over looking.

Thanks,
Erich

Yep, would like to see that as well + a OnRightClcik event as well

Paul

if you want to drill down to a details. Then you should add a button with a nice image on top of it… Where users can click on it.
seeing a double click in a listview is pretty difficult because if you click on it you can click on any component in them. Then we have to test for that which not very easy.

Johan,

I assume that on list/table views, there is a mouse event listener active, to capture a click on the mouse and thus select a record.

Since Java offers a getClickCount function for the mouse listener, why wouldn’t that work to create a distinction between starting the OnRecordSelection method for a single click and the new OnDoubleClick method when a user doucle clicks on a record?

I’m not a Java expert here, so I might be completely wrong, all I know from a “user” perspective is that I work with Java apps, that do offer the double click event on elements that look to me similar to the list and table view of Servoy.

Paul

tableview shouldn’t be to difficult but still has the same problem as a listview (which has currently no support for double click)
We can look at it but the problem is that the first click can already start an edit before the second click.. So that the second click is already send to another component (the edit component)

OK, I see the issue. Judging from the info I have it looked to me that the listener only receives one event, which can either be a single or a double click event, but like I said, I’m not an expert here at all…

Paul

no the first click will also be comming through as a one click event
Then the second click will come through as a click that “belongs to” a double click.

OK, didn’t know that. Now I understand the issue :D Too bad…