RETURN key press sound a beep in TextBox

Discussion in 'Questions (Windows Mobile)' started by claudio, Jun 5, 2009.

  1. claudio

    claudio Member Licensed User

    I need to handle the return key into the textbox controls.

    The reason is because some industrial devices has a keyboard and users often prefer to use the RETURN key to go to the next field.

    I can trap the key with this code:

    Sub MyText(key)
    If key = Chr(13) Then
    End If
    End Sub

    And the focus goes to the next field but the device sound a beep, there
    are some way to switch off that beep.

  2. agraham

    agraham Expert Licensed User

    It is Windows that is producing the sound. On Vista it is Control Panel -> Sound -> Sounds -> "Default Beep". On XP it is Control Panel -> Sounds and Audio Devices -> Sounds -> "Default Beep".

    Edit : You said "devices". On a device it is Settings > Personal -> Sounds and Notifications -> Events (warnings, system events)
    Last edited: Jun 5, 2009
  3. xeir

    xeir Member Licensed User

    I had noticed that as well and was curious. So there's no way within Basic4PPC to disable the beep for that particular scenario then? Not like it's a big thing, it just sort of makes you think there's an error everytime.

  4. claudio

    claudio Member Licensed User

    I wonder that .NET doesn't have a way to switch off it, but if is not so,
    there are a way to stop the message propagation? I'm not a .NET expert.

    Many thanks
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice