Create a clock label

Create a label that displays the current time.
  1. Create the label:
    1. In the
      Project view
      pane, right-click
      MainWindow (type)
      and select
      New
      Base controls
      Label
      .
    2. Hover-over the label, select
      Edit
      , and enter
      ClockLabel
      .
  2. Configure the label
    1. IMPORTANTE:
      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 the
      Properties
      pane, create a dynamic link between the
      Text
      property and
      ProjectName
      NetLogic
      ClockLogic
      Time
      .
      For more information about dynamic links, see Create dynamic links.
    2. In the
      Properties
      pane, create a dynamic link between the
      Visible
      property and
      ProjectName
      UI
      MainWindow (Type)
      ShowClockCheckBox
      Active
      .
      For more information about dynamic links, see Create dynamic links.
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.