Label (control)
   HOME

TheInfoList



OR:

A label is a
graphical control element A graphical widget (also graphical control element or control) in a graphical user interface is an element of interaction, such as a button or a scroll bar. Controls are software components that a computer user interacts with through direct m ...
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 A text box also called an input box, text field or text entry box, is a control element of a graphical user interface, that should enable the user to input text information to be used by a program. Human Interface Guidelines recommend a single ...
or other widget. Some labels can respond to events such as
mouse click In computing, an event is a detectable occurrence or change in the system's state, such as user input, hardware interrupts, system notifications, or changes in data or conditions, that the system is designed to monitor. Events trigger responses or ...
s, allowing the text of the label to be copied, but this is not standard user-interface practice. Labels usually cannot be given the
focus Focus (: foci or focuses) may refer to: Arts * Focus or Focus Festival, former name of the Adelaide Fringe arts festival in East Australia Film *Focus (2001 film), ''Focus'' (2001 film), a 2001 film based on the Arthur Miller novel *Focus (2015 ...
. There is also a similar control known as a link label. Unlike a standard label, a link label looks and acts like a
hyperlink In computing, a hyperlink, or simply a link, is a digital reference providing direct access to Data (computing), data by a user (computing), user's point and click, clicking or touchscreen, tapping. A hyperlink points to a whole document or to ...
, and can be selected and activated. This control may have features such as changing colour when clicked or hovered over.


References

Graphical control elements {{GUI-stub