![]() |
Control Key Script Behavior Constants |
Header: Controls.h |
enum { kControlKeyScriptBehaviorAllowAnyScript = 'any ', kControlKeyScriptBehaviorPrefersRoman = 'prmn', kControlKeyScriptBehaviorRequiresRoman = 'rrmn' };
Does not change the current keyboard and allows the user to change the keyboard at will. This is the default for non-password fields.
Changes the current keyboard to Roman whenever the editable text field receives focus but allows the user to change the keyboard at will. This is the default for password fields.
Changes the current keyboard to Roman whenever the editable text field receives focus and does not allow the user to change the keyboard.
With the Mac OS 8.5 Control Manager, you can use these constants of type ControlKeyScriptBehavior to specify the kind of behavior to be used in an editable text control with respect to changing and locking the keyboard menu as the field is focused. The ControlKeyScriptBehavior constants are set and retrieved with the kControlEditTextKeyScriptBehaviorTag control data tag constant; for details on kControlEditTextKeyScriptBehaviorTag, see
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)