Take a look at the filter function.
An auto-enter function:
filter ( self ; -1.023456789 )
clear the do not replace existing value check box.
No sir, I want when user want or make mistake and press any alphabet show custom dialog to him: you can only type alphabet!
The same filter function can be used. Just put the characters that you want to allow in quotes as the second parameter.
In English, it might look like this:
Filter ( Self ; "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" )
You can also include any other characters such as the space and punctuation between those quotes.
You could use this function with a script, but the auto-enter calculation is much simpler. It does allow the user to type in any character, but then removes any not listed in the filter function. So this may not be what you originally wanted, but it's simple and effective.
As I said is important to me users know that what is them the mistake and with show custom dialog I can do it and with the script, I can use it on my all fields.
however, appreciate philmodjunk for helping sir.
Perhaps you could apply what you learned in your other thread to solving your problem?
Preventing numbers / allowing alphas only and Preventing alphas / allowing numbers is essentially the same programatic problem.
You should seriously consider the effect that prompting your users every time they make an error will cause.
Alarm fatigue is a very real phenomenon.
What is important to you may actually impede the users from doing their work.