Announcement

Collapse
No announcement yet.

Graphic waitkey$

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    If it's working as designed, the doc is in error. It should contain a 'restrictions' or 'limitations' or 'remarks' section defining which keys are not detected by the function.

    Leave a comment:


  • Michael Bell
    replied
    Thank you good people. Now I understand. I shall send a request to support, following Guy's suggestion.

    Thanks for the GRAPHIC CONSOLE MENU code Guy. It's a little over my head at present, but I'll study carefully...

    Leave a comment:


  • Guy Dombrowski
    replied
    Would be nice to let the programmer decide to add the TAB key function with a simple flag ?

    Leave a comment:


  • Steve Rossell
    replied
    All Windows created by PowerBASIC are dialogs and the dialog engine takes these type of keys. We wanted the graphic commands to function the same in graphic windows and graphic controls (PBWin), so that it would not be confusing. It just would not be prudent to catch a tab key in a graphic control, as the tab is used to move to the next control.

    If you have a suggestion how you would like this function, just send a request to [email protected].

    Leave a comment:


  • Michael Mattias
    replied
    As it would appear to be a bug - help for GRAPHIC WAITKEY$ and GRAPHIC INKEY$ read very much alike: "Read a keyboard character if one is ready" (INKEY$) or "Read a keyboard character, waiting until one is ready (WAITKEY$), I would guess a maintenance release would address this problem.... assuming anyone has actually bothered to report it to the official reporting station [email protected]

    Leave a comment:


  • Guy Dombrowski
    replied
    Tab Key

    Michael,
    PBCC 5.01 does not trap the TAB key and also the mouse scroll wheel so far
    Maybe 5.02 will ?
    As I needed that key, I had to learn how to subclass that command.
    Check my GRAPHIC CONSOLE MENU post for the technique.
    You wil find all you need there.
    Last edited by Guy Dombrowski; 5 May 2009, 12:33 PM.

    Leave a comment:


  • Michael Bell
    started a topic Graphic waitkey$

    Graphic waitkey$

    Using PB/CC 5.01...

    Is there any reason why GRAPHIC WAITKEY$ (or GRAPHIC INKEY$ for that matter) should refuse to 'see' the horizontal tab key (^I) in a graphics window? I would expect to get an ASCII value of 9, but it acts like no key was pressed. Other control characters appear to be visible. WAITKEY$ and INKEY$ can both 'see' the tab key in the console.

    Any enlightenment welcome!
Working...
X