Label

Use the Label widget to add a text label to the screen.

Label widget properties

Use this property To do this
General tab
Name Type an internal name for the widget
Connection Name Specify a connection to a data source.
Scope Type Make the connection public or specify a named session.
Title Type a title for the Label widget box. If necessary, adjust the appearance of the title.
Title Bar Visibility

Specify the visibility of the widget title bar. Choose one of the following:

  • Above
  • Overlay
  • Hidden (outside Designer only)
Context Sensitivity

Specify the context sensitivity.

  • Choose from the following:
    • None
    • Receives Context

    The text property can be setup as a statement on which context can be received.

    The Label widget cannot provide context.

    To specify context sensitivity options, click to access the context sensitivity properties.

Text

Type the text that you want to appear on the label.

Alternatively, you can click the Value Editor toggle and use the Statement Editor to specify the text.

Tile
Background Color Specify the background color of the widget.
Text Color Specify the color of text in the widget title.
Show Shadow Display a shadow on the widget.
Show Title Row Border Display borders around the title row of the widget.
Font Size Specify the font size for the widget title.
Font Preview Shows you how your font selections will affect the widget title.
Bold Display the widget title text in bold.
Italic Display the widget title text in italics.
Style tab
Font Size Specify the text size for the label.
Font Preview Shows you how your font selections will affect the label.
Bold Display the text in bold.
Italic Display the text in italics.
Vertical Alignment

Adjust the vertical alignment of the label.

  • Choose one of the following:
    • Top
    • Center
    • Bottom
Horizontal Alignment

Adjust the horizontal alignment of the label.

  • Choose one of the following:
    • Left
    • Center
    • Right
    • Justify
Vertical Scrollbar

Adjust the vertical scroll bar.

  • Choose one of the following:
    • Auto
    • Visible
    • Hidden
Horizontal Scrollbar

Adjust the horizontal scroll bar.

  • Choose one of the following:
    • Auto
    • Visible
    • Hidden
Text Wrapping

Turn on or off text wrapping.

  • Choose one of the following:
    • None
    • Wrapped
Text Trimming

Turn on or off text trimming.

  • Choose one of the following:
    • None
    • Ellipsis
Advanced tab
Conditions Specify any conditions that must be met to return a value.
  1. Click Add Statement.

    A blank statement is displayed.

  2. Construct the query as necessary. See Statement Editor Functions for a list of available functions.
Sort By Filter the data to further narrow the scope of the query.
  1. Click Add Statement.

    A blank statement is displayed.

  2. Construct the query as necessary. See Statement Editor Functions for a list of available functions.
  3. Click Sort Ascending or Descending to adjust the order of displayed records.
Events tab
Add Event Handler Add events to the widget.
  1. For When/On, specify when you want the event to occur.
  2. For Then, specify the action that you want to occur.

Last modified: Friday May 12, 2023

Is this useful?