This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
HabaHaba  
#1 Posted : Tuesday, March 8, 2011 12:59:41 PM(UTC)
HabaHaba

Rank: Member

Groups: Guest
Joined: 9/7/2008(UTC)
Posts: 19

Hello
A problem with MultilayerViewer.MouseDown event appears when I try to select objects on layers in MultilayerViewer (mlv) after user click mouse on it.

In my application I have MultilayerViewer. Each VObject on it are placed on different layer (this is by design and cannot be changed).

I attached image to show this issue. Mlv on this picture has textVObject (marked as 1), imageVObject (marked as 2) and empty space marked as 3. TextVObject is already selected. Each object placed on different layer.

To select objects that are not placed on current layer I use MultilayerViewer.MouseDown event.

This event fires in this case:
text object (marked as 1) is selected and then mouse clicks on point marked (2) - event fires and I can find and select image object.
But there is case when event not fired:
as before, text object (marked as 1) is selected on mlv and then mouse clicks on point marked (3) and text object selects. Then mouse clicks on image object (marked as 2) but MouseDown event not fired!

Why this event handler doesn't fire every time when mouse clicks on mlv?
HabaHaba attached the following image(s):
gm_sample.png
Dmitry.Obukhov  
#2 Posted : Thursday, March 10, 2011 3:25:09 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Guest
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Could you please share the code snippet of MouseDown event with me?
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
ChingYen  
#3 Posted : Monday, April 25, 2011 1:01:56 AM(UTC)
ChingYen

Rank: Advanced Member

Groups: Guest
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

We do facing similar problem. We have 3 object on the same layer. When we click on the obj, the "MouseDown" is not fired. We noticed the MouseDown will only fired, when there are some object being selected, and we mouse down on some empty area within that layer.

Please advise.
Dmitry.Obukhov  
#4 Posted : Tuesday, April 26, 2011 12:59:50 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Guest
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ching-Yen,

As far as I understand, you need to fire event, which should occur after mouse clicking. In this case, you need to use MouseClick event. I checked it, and it worked okay for me.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.