hello everybody
I want to set format textfield —> AB:12:CD:56:de:55
I’m write code on key up Event : me.Mask="##:##:##:##:##:##"
but not work I can not press A
thank you
hello everybody
I want to set format textfield —> AB:12:CD:56:de:55
I’m write code on key up Event : me.Mask="##:##:##:##:##:##"
but not work I can not press A
thank you
Try changing your #'s to A’s e.g. me.mask=“AA:AA:AA:…”
Looking at the documentation at http://documentation.xojo.com/index.php/Format this isn’t mentioned, but it works at least on Windows.
Also, it looks like : is the time separator and may vary based on user settings. You’ll want to escape it…
me.mask=“AA\:AA\:AA\:AA\:AA\:AA”