Jump to content

Recommended Posts

Posted

Hello all,

I've been working on a script with a GUICtrlCreateInput with the $ES_NUMBER option.

When one want to type a non numerical character in the inputbox a balloon tip with the error text is produced by autoit. "Unacceptable Character, You can only type a number here"

Question??

Is it possible to change the balloon text??

Regards,

Wonder

Posted

This is a system popup generated by AutoIt, so i do not think that you can change the text. You could use a standard input box and use the IsNumber() function in your code to bring up your own message box.

“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.

Posted

This is a system popup generated by AutoIt, so i do not think that you can change the text. You could use a standard input box and use the IsNumber() function in your code to bring up your own message box.

Thanks,

The IsNumber() function did the job for me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...