AVAX-software.com Forums: Handling mouse third button events - AVAX-software.com Forums

Jump to content

Page 1 of 1

Handling mouse third button events

#1 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 29 May 2005 - 06:34 PM

Hi,

Most of recent mice have a scrolling button in the middle. I want to let the user scroll it to zoom in and out when he scrolls it in the 2 different directions. How would i do this? I have also another question. What is the code I can use to zoom out?

Thank you in advance

#2 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 30 May 2005 - 05:59 AM

Hi,

You can use cAvax1.ZoomIn, cAvax1.ZoomOut functions to zoom in/out.
About the scrolling button in the middle of the mouse AVAX doesn't support this operation. You can catch this event in your form level and use the functions above.
Athanasios Gardos
Avax-Software.com

Page 1 of 1


Fast Reply

  

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