![]() ![]() ![]() That said, when you are considering constraints, bear in mind the needs of global users. Use unconstrained controls like text boxes as a last resort. If users enter text that's not valid, you must handle the error with an error message.Īs a general rule, you should use the most constrained control that you can. This means relying on labels to convey this information to users. If you use a spin control, you can limit spin control choices to valid values.Īside from their length and the optional presence of a spin control, text boxes don't have any visual clues that suggest the valid values or their format.You can optionally restrict input to numeric characters (0 9) only.You can optionally set the maximum number of characters.The only constraints on an editable text box are: While text boxes have the benefit of being very flexible, they have the drawback of having minimal constraints. ![]() For example, users can easily choose a color using a slider because they can immediately see the effect of changes to hue, saturation, or luminosity values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |