11-10-2014 03:04 AM
Cool find, thank you. I use key down? in my VI's to disallow alpha characters in phone numbers, etc. I'll have to check those, too.
11-10-2014 03:16 AM - edited 11-10-2014 03:20 AM
Hi, ZWired1,
My friend take your attached VI, and wire the CtlRef in the event case to get its value property, then convert it to uppercase. It works fine but key repeat condition.
I'm still a little confused and do not understand these clearly. I have to study more ![]()
11-10-2014 06:50 AM - edited 11-10-2014 06:53 AM
oops
11-10-2014 08:40 AM - edited 11-10-2014 08:42 AM
I would do it like this. This event gets fired before the value is displayed in the control.
Edit: added key repeat.
11-11-2014 12:26 AM
Hi,
Friends. Thanks for your kindly support!
11-11-2014 06:35 AM
@aputman wrote:
I would do it like this. This event gets fired before the value is displayed in the control.
Edit: added key repeat.
I don't use filters enough in my events.
11-11-2014 09:15 AM
Using the accepted solution, the value gets written to the control twice, once as a lower case and once as an uppercase. You can actually see it (barely) if you do a key repeat. This may not be a problem if the VI is small and using very little of the CPU but may become more noticeable during high CPU usage.
11-11-2014 10:36 AM
so what is your alternative?
11-11-2014 10:38 AM
it's posted above....using filter events.