Forum Guidelines

This forum is for finished source code that is working properly. If you have questions about this or any other source code, please post it in one of the Discussion Forums, not here.
See more
See less

Inkey$ replacement for PBWin

  • Filter
  • Time
  • Show
Clear All
new posts

  • Gert Voland

    look for SUB GWInkey(lInstat AS LONG, sKey$, keyshift AS INTEGER) in :

    You create and attach a GRAPHIC WINDOW and then call GWInkey().

    When lInstat is true, the last key stroke can be read from sKey$.
    Independent of that keyshift returns the status of the Shift/Ctrl/Alt keys.

    All those variables are compatible with INSTAT, INKEY$ and INSHIFT of PB/CC.
    The routine detects more keys than the standard GRAPHIC INKEY such as TAB, Alt Fxx etc. (except keypad keys).

    Does this come close to what you meant?

    Best regards,

    Leave a comment:

  • Gösta H. Lovgren-2
    started a topic Inkey$ replacement for PBWin

    Inkey$ replacement for PBWin

    Forget it, was close but no cigar {oh well}
    Last edited by Gösta H. Lovgren-2; 25 Apr 2009, 10:20 PM. Reason: Incomplete testing with Real men.