Hi Christian,

In the tree, on a left click we want to open a page and on the right
click, we have the context menu. However, since a single click (either
left or right) triggers the selection event, the page opens even on a
right click. We want to avoid this. 

Thanks & Regards,
Pavan 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Christian
Ribeaud
Sent: Friday, August 14, 2009 2:41 PM
To: [email protected]
Subject: Re: [ULC-developer] Events for ULCTree

Hi Pavan,

in ULC one click triggers the selection and two clicks an action  
event. The selection is the consequence of a mouse click
but should not have any connection to it. This is the same in Swing.
Usually the right click is reserved for activating the context menu.  
What do you want to achieve with a right click on the tree? Best,

christian
--
Canoo - Your Solution Provider for Rich Internet Applications

     Christian Ribeaud
     Canoo Engineering AG
     Kirschgartenstrasse 5
     CH-4051 Basel

     Tel: +41 61 228 94 44
     Fax: +41 61 228 94 49

     [email protected]
     http://www.canoo.com/

On Aug 12, 2009, at 4:31 PM, Sambare Pavan (KCAB 116) wrote:

> Hi,
>
> How is it possible to differentiate between Right click and Left  
> click mouse events on a ULCTree component? The TreeSelectionListener  
> has the same event type for both clicks.
>
> Thanks & Regards,
> Pavan Sambare
> Office :  +41 (0)44 33 42178
> Mobile: +41 (0)76 75 33363
>

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to