function example
Suppose you want a character field to be right-aligned, and all the letters typed to be converted into uppercase. Set the function of the control to "J!".