|Navigation: Language Reference > 9 - Window and Report Attributes > Window and Report Attributes >====== CAP, UPR (set case) ======|
The CAP and UPR attributes specify the automatic case of text entered into ENTRY or TEXT controls when the MASK attribute is on the window or of text printed in a TEXT control.
The UPR attribute (PROP:UPR) specifies all upper case.
The CAP attribute (PROP:CAP) specifies “Proper Name Capitalization,” where the first letter of each word is capitalized and all other letters are lower case. The user can override this default behavior by pressing the SHIFT key to allow an upper case letter in the middle of a name (allowing for names such as, “McDowell”) or SHIFT while CAPS-LOCK is on, forcing a lower case first letter (allowing for names such as, “von Richtofen”).