Results 1 to 4 of 4
  1. #1
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115

    Tasto Esc della tastiera


    Hello, I bisngo for your help ... I wish that pressing the Esc key on the printer, be terminated with the mask, but do not know how or even if you can .....
    thanks
    Hello

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Don't really understand the question. Translation lacking.

    I don't think pressing keyboard ESC will stop print.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    Hello, I'm sorry .. I try to explain better .... I was wondering if it is possible by pressing the Esc key on the keyboard, close a form.
    thanks
    Hello

  4. #4
    sergran is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    115
    Hello, I found the solution on the internet that I report below


    Private Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyEscape Then btnClose_Click
    end Sub


    Private Sub btnClose_Click ()
    On Error GoTo Err_btnClose_Click
    DoCmd.Close acForm, "frmArguments"
    Exit_btnClose_Click:
    Exit Sub
    Err_btnClose_Click:
    MsgBox Err.Description
    Resume Exit_btnClose_Click
    end Sub

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums