KeyPress     Event

Public Event KeyPress(KeyAscii As Integer, X As Double, Y As Double)

Occurs when the user presses a key; also returns the (X,Y) coordinates for the current graph and on the currently-selected axes.

ParameterTypeDescription

KeyAscii

Integer

ASCII code of the key pressed

X

Double

X-value at location where mouse was clicked, or 0 if clicked outside the plot area

Y

Double

Y-value at location where mouse was clicked, or 0 if clicked outside the plot area

See Also

Click  

Example

Private Sub ecGraph1_KeyPress(keyascii, x, y) 'Called when this Event is raised in ecGraph.ocx
   ...
End Sub


     
Contents     Variables     Events     Properties     Functions     Subs

Copyright © 2007, Encore Consulting Pty Ltd