Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, May 3, 2012 1:20:15 AM(UTC)
Ahmad_Hamdan_iLead

Groups: Registered
Posts: 11


Hi,

How can i disable Selecting Multi Annotaions in Raster Image Viewer?

i would like to have it in a way that if the user hold down the left mouse button and tried to drag the mouse then the pointer will not change to multi selection pointer, it will stick to the same as an arrow cursor

P.S: i already used this code for the automation manager automationManager.MultiSelectModifierKey = Keys.None, but it will only disable for keys not mouse
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, May 4, 2012 5:14:02 AM(UTC)

Ryan  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

Hello Ahmad,

You can disable this by removing AnnGroup object from AutomationManagers default Object list.

For example

             if (_automationManager.Objects[i].Id == AnnAutomationManager.GroupObjectId)
                 _automationManager.Objects.RemoveAt(i);



http://www.leadtools.com/help/leadtools/v175/dh/an/leadtools.annotations~leadtools.annotations.annautomationmanager~objects.html
 
#3 Posted : Saturday, May 5, 2012 1:27:11 AM(UTC)
Ahmad_Hamdan_iLead

Groups: Registered
Posts: 11


Dear Rayan,

Thank you, it worked as expected
 
#4 Posted : Monday, May 7, 2012 11:37:26 AM(UTC)

Ryan  
Guest

Groups: Guests
Posts: 3,028

Was thanked: 2 time(s) in 2 post(s)

Your welcome Ahmad,

Let us know if you have any other questions.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.098 seconds.