Search All Forums
Dart Home | PowerVT | Custom Development Reply | PowerVT Topics | Forums   
AuthorForum: PowerVT
Topic: f2 printing

From: Santa Barbara, CA USA
Posts: 4
Member Since: 01/29/04
posted January 29, 2004 3:33 PM

We are having a problem. Whenever we press the F2 key it sends the current screen to the printer. We zero out the keycode. After it leaves the Sub the screen is immediately sent to the printer. This happens on every machine that it is installed on. What can we do to fix it?


Private Sub axvt1_KeyDownEvent(ByVal sender As Object, ByVal e As AxDartVt._IVtCtrlEvents_KeyDownEvent) Handles AxVt1.KeyDownEvent

  Dim TranslatedKey As String = Nothing

  TranslatedKey = MyKeyMappings(e.keyCode.ToString).ParsedAscii

  If Not TranslatedKey Is Nothing And TranslatedKey <> "" Then
   e.keyCode = 0
  End If

 End Sub
Tony Priest

From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 29, 2004 3:40 PM

This was posted in the wrong forum. This forum is for PowerVT, not the Emulation Tool. Also, I believe this is a duplicate post. Please see my answer in the other thread.
Reply | PowerVT Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX