Hi Laurent,

I assume you're talking about a dialog (or a form?).
Why don't you use the event-register in the property-dialog and catch the click & doubleclick-events in a function? Scrolling is not triggered there.

Peter

Laurent Godard schrieb:
Hi all

in a macro i define a clik mouse event on a listbox
the purpose is to detecte a double-click in the list

i end with a com.sun.star.awt.MouseEvent on a stardiv.Toolkit.UnoListBoxControl

it works well !!

Nevertheless, the event is also triggerred when the list has a scrollbar and when we click in it the scroll is triggered, no problem but the event also and i found no way to detect this kind of situation

How can i avoid that ? any trick ?
is it a known bug ? i did not find anything

thanks in advance

Laurent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to