Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

MouseTool Cursor

Last post 27 Jan 2008, 11:17 PM by Dana. 5 replies.
Sort Posts: Previous Next
  •  22 Jun 2004, 2:58 PM 9002

    MouseTool Cursor

    I've just installed DotAnnotate 1.0 demo and changed my viewer from the DotImage 1.1 to use the DotAnnotate Viewer. Now, when I change the MouseTool, the cursor does not change in the viewport. It remains the default Windows cursor.

    I went through Glenn's "Cursor Curses" but I don't even get that far before the cursor gives me trouble.

    I've tried setting the MouseTool to something other than "None" in designer and code but it always appears as just the default. This is bad as there's no visual clue for the user that they can zoom, or select, or pan...
  •  22 Jun 2004, 5:10 PM 9003 in reply to 9002

    RE: MouseTool Cursor

    Make sure the [viewer].Annotations.InteractMode property is set to "View" before you set the MouseTool property. You can't use the MouseTools and annotation Edit mode at the same time.

    Glenn Chittenden Jr.

    Atalasoft Developer


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  22 Jun 2004, 5:16 PM 9004 in reply to 9002

    RE: MouseTool Cursor

    I can confirm that Annotations.InteractMode is set to View both at design and during run.
  •  12 Dec 2007, 9:24 PM 12869 in reply to 9002

    Re: MouseTool Cursor

    Hi,

    I am having the same issue in 5.0.

    Both the [viewer].InteractMode and [viewer].Annotations.InteractMode property are set to "View", but when I change the MouseTool to MouseToolType.ZoomIn / ZoomOut the mouse cursor remains the default.

     Any other ideea?

     Thanks

  •  19 Dec 2007, 5:08 PM 12904 in reply to 12869

    Re: MouseTool Cursor

    My mistake.  Set the InteractMode property to None, then set the mouse tool you want to use.  When switching back, set the MouseTool to None before setting the InteractMode.

    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  27 Jan 2008, 11:17 PM 13044 in reply to 12904

    Re: MouseTool Cursor

    Yep, that worked for me.

    Many thanks.

View as RSS news feed in XML