Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-09 Thread Laurent Godard
Hi Jurgen i would expect that the EventObject.Source member can be helpful to detect where you are. But i am not 100% sure. it returns the UnoListBoxControl object itself diving into it, i could find the border width (1 pixel) and its whole size but no way to find the width of the scrollbar

[api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Laurent Godard
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

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Laurent Godard
Hi Andrew I use the mouse event to catch double clicks, oten. The event object contains a property for the click count, i knew that anyway thanks Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko http://www.indesko.com Nuxeo CPS http://www.nuxeo.com -

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Jürgen Schmidt
Hi Laurent, Laurent Godard wrote: 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

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Peter Eberlein
Hi Laurent, Laurent Godard schrieb: Hi Peter thanks for nyour response I assume you're talking about a dialog (or a form?). yes a dialog 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.

Re: [api-dev] UnoListBoxControl MouseEvent Scrollbar bug ?

2006-02-08 Thread Peter Eberlein
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