AVAX-software.com Forums: WheelMouse Event VB2008 - AVAX-software.com Forums

Jump to content

Page 1 of 1

WheelMouse Event VB2008

#1 User is offline   MarioRainer Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 11-May 08
  • Location:Germany

Posted 24 October 2008 - 08:38 AM

Hello,

to Zoom i would like to use the WheelMouse Event in VB2008.

Is the any tip for me?

Mario

#2 User is offline   elias Icon

  • Newbie
  • Icon
  • Group: Support
  • Posts: 51
  • Joined: 24-October 08
  • Gender:Male

Posted 24 October 2008 - 01:05 PM

Hello,

try this

Private Sub FRMMain_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseWheel
		If e.Delta > 0 Then
			cAvax1.ZoomIn()
		Else
			cAvax1.ZoomOut()
		End If
	End Sub


#3 User is offline   MarioRainer Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 43
  • Joined: 11-May 08
  • Location:Germany

Posted 24 October 2008 - 05:23 PM

Hey,

it`s great.

Thank you

Mario

#4 User is offline   TReischl Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 23-May 10

Posted 03 June 2010 - 03:16 PM

Thanks Mario! It is really great!

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users