Re: beeps
- Posted by Mario Steel <eumario at tuscanchat.com> Jul 23, 2004
- 537 views
Brian Broker wrote: > > >George Walters wrote: ><snip> > > >> <>I set the code from tabbing to be the same as arrowing and hitting the >> arrows does not beep but tabbing does....any Idea's?? >> BTW when beeps occurr what does that mean as far as win32? What is >> windows trying to tell me? I'm running win32 version 59.1 if that might >> make any difference. >> >> george > First off, it's not a problem with Win32lib. Though v0.60.1 may have a function that delimits the beep noise. The beep noise is to let ya know, that your doing something, that isn't supported for that control. If you was to put a Single Line Edit (EditText), type something in, then press enter, it'll beep at you, mainly because a Single Line Edit (SLE) doesn't allow returns by standard forming. However, if you was to put in a onKeyPress event for the Edit Text, search for the Return Key (VK_ENTER or VK_RETURN one of the two), and use returnValue(-1), it'll prevent the beeping noise, and actually insert the Return into the SLE ('\n'), though it will appear as a black box. Hope this analogy helps out. Cause I'm pretty sure, that it's just the tabbing effect that's not being supported by the windows control(s) in question. >> <>I'd try the latest release and see if that fixes it. I think it does... >> http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm >> >> -- Brian > Mario No matter what you write in your code, it comes down to being logic, and only the computer doing as you instructed it to do in your code.