>Thanks for working with me on this Fred. I currently have the following, which DOESN'T work:
>
>in textbox methods(events):
>
>GotFocus:
> SET CONFIRM ON
> SET BELL ON
>
>LostFocus:
> SET CONFIRM OFF
> SET BELL OFF
>
>With those events coded as such, when I get to thelast possible charater in the textbox, I remain in the textbox and keep overwriting the last character. However, no BELL tone is issued.
>
>Again, my understanding of the old is that if you have CONFIRM off and BELL on, then you get a bell tone when you enter the last character, prior to automatically going on to the next field. That is not what I want. Again, I want the bell tone to sound when the user types the last possible character (MaxLength), continue to sound (preferably) if the user continues to type more characters, but not move on to the next field until the user presses Enter key.
>
>Is there a function i can interogate or use in conjunction with MaxLength, perhaps in the Keypress event, with having to parse text or writing a lot of code??
>
>Thanks again.
>
>Jere
>
Are you sure it doesn't work? Works exactly the way you want it on mine. Do you have a sound card in your machine? If you don't, VFP only does a pathetic little click, not an actual bell sound. And it does this on every single character that replaces the last one in the string.