Results 1 to 2 of 2

Thread: stoping the beep

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Pittsburgh, PA
    Posts
    329
    if you have a textbox control, and you hit return/enter (ASCII 13) it beeps. can i make it not beep?
    ______________

  2. #2
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Yes, in fact, you can.

    Code:
    Private Sub Text1_KeyPress(KeyAscii As Integer)
        if keyascii=13 then keyascii=0
    End Sub


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width