Create a clock label

Create a label that displays the current time.
  1. Create the label:
    1. In
      Project view
      , right-click
      MainWindow (type)
      and select
      New
      Base controls
      Label
      .
    2. Hover-over the label, select
      Edit
      Edit
      , and enter
      ClockLabel
      .
  2. Configure the label
    1. IMPORTANT:
      While performing this step, in the dynamic link dialog, at the bottom, from the
      Format
      drop-down menu, select a time format.
      For example, select
      h:mm:ss [AM/PM]
      .
      In
      Properties
      , create a dynamic link between
      Text
      and
      ProjectName
      NetLogic
      ClockLogic
      Time
      .
      For more information about dynamic links, see Create dynamic links.
    2. In
      Properties
      , create a dynamic link between
      Visible
      and
      ProjectName
      UI
      MainWindow (Type)
      ShowClockCheckBox
      Active
      .
      For more information about dynamic links, see Create dynamic links.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.