Name
String.Accept -- set/get characters accepted by string gadget
Function
A string containing characters allowed as input for the string gadget. Whenever the user hits a character not found in String.Accept, he will hear a beep and gadgets contents won't have changed.

Type
String

Applicability
ISG

Example
mui.Set(obj, "Accept", "0123456789-")
The above code will set a string gadget to only accept numbers and hyphens.

Show TOC