Label (control)

A label is a user interface control which displays text on a form. It is usually a static control; having no interactivity. A label is generally used to identify a nearby text box or other widget. Some labels can respond to events such as mouse clicks, allowing the text of the label to be copied, but this is not standard user-interface practice. Labels usually cannot be given the focus, although in applications written in Java using the Swing toolkit, labels can be focused through tabbing. By contrast, in native Microsoft Windows applications, labels cannot be focused by this method.

There is also a similar control known as a link label. Unlike a standard label, a link label looks and acts like a hyperlink, and can be selected and activated. This control may have features such as changing colour when clicked or hovered over.

Famous quotes containing the word label:

    People who live in the post-totalitarian system know only too well that the question of whether one or several political parties are in power, and how these parties define and label themselves, is of far less importance than the question of whether or not it is possible to live like a human being.
    Václav Havel (b. 1936)