|
|
1.1 root 1: {\rtf0\ansi{\fonttbl\f1\fswiss Helvetica;\f0\fmodern Courier;}
2: \paperw11780
3: \paperh8880
4: \margl120
5: \margr120
6: {\colortbl\red0\green0\blue0;}
7: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f1\b0\i0\ul0\fs36 Text Fields
8: \fs24 \
9: \
10: A text field is a slot where text is displayed. If editable, the user can type in a single line of data-such as a file name, a part number, or an address into the text field.\
11: \
12:
13: \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 Editable or selectable text should be displayed against a white background; text that isn't selectable or editable should be displayed against a background other than white (usually gray). The white background indicates that the text is selectable or editable; in certain contexts (a panel, for example), it also prompts for user input.\
14: \
15: Selectable or editable text should normally be enclosed by a border of some kind to set it off from the background.\
16: \
17: Labels and titles are displayed against a gray background without a border. If they can be selected or edited, the background should turn white when the user first initiates a selection (i.e., on the first mouse-down event).\
18: \
19: The text in a text field is normally editable, so it's displayed against a white background. When the text field is temporarily disabled, the text becomes gray (just like the label of a button) but the background color doesn't change.\
20: \
21:
22: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 Generally, editable text fields accept unrestricted data, but sometimes an entry won't be acceptable if it's the wrong data type-if, for example, the user types in a floating-point number when an integer is called for. Text fields generally recognize these five restricted types of data:\
23: \
24:
25: \pard\tx880\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\li640 � Unsigned integers \
26: � Signed integers \
27: � Unsigned floating-point numbers \
28: � Signed floating-point numbers \
29: � Dates\
30:
31: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \
32: If the user's entry isn't acceptable, all of the text in the field is selected and highlighted. The user can make any necessary corrections and try again.
33: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.