String.Accept -- set/get characters accepted by string gadget
A string containing characters allowed as input for the string gadget. Whenever the user hits a character not found in
, he will hear a beep and gadgets contents won't have changed.
mui.Set(obj, "Accept", "0123456789-")
The above code will set a string gadget to only accept numbers and hyphens.