Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: how to get keypress values????
Started by sakthi at 06-17-2008 8:52. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  06-17-2008, 8:52
sakthi is not online. Last active: 10/14/2008 8:10:11 AM sakthi

Top 50 Posts
Joined on 05-09-2008
Posts 47
how to get keypress values????
Reply Quote
Hi,
I am using leadtools v.15 and medicalview demo as sample..
,I want to get esc key value....How to get it????
I would like to perform some opertion in ESC key...So how to get it???...Can u please guide me...
I have used this...
 AddHandler _medicalViewer.UserActionKeyDown, AddressOf _medicalViewer_UserActionKeyDown

Private Sub _medicalViewer_UserActionKeyDown(ByVal sender As Object, ByVal e As MedicalViewerKeyEventArgs)
            MsgBox(e.KeyValue)
        End Sub

its not working , how u have get delete key ,when i press delete key image is getting deleted ..I do not want to  add this event.....and i want to add Ctrl Z key for Undo.....Can please help me out..


thanks
Sakthi..

   Report 
  06-18-2008, 11:54
Adam Boulad is not online. Last active: 11/13/2008 4:54:42 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 492
Re: how to get keypress values????
Reply Quote

Sakthi,

Have you tried to use the KeyDown instead of the UserActionKeyDown like this:
 

AddHandler MedicalViewer1.KeyDown, AddressOf MedicalViewer1_KeyDown

Private Sub MedicalViewer1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)

   MsgBox(e.KeyValue)

End Sub


Adam Boulad
LEADTOOLS Technical Support

   Report 
  06-19-2008, 0:36
sakthi is not online. Last active: 10/14/2008 8:10:11 AM sakthi

Top 50 Posts
Joined on 05-09-2008
Posts 47
Re: how to get keypress values????
Reply Quote
  thanks ,
I got the solution.....thanks alot

   Report 
Post
LEAD Support Fo... » Developer » DICOM/Medical I... » Re: how to get keypress values????

Powered by Community Server, by Telligent Systems