Create the application interface

Create a button for inserting data into the database, a button for querying the database, and a label that displays the query results.
  1. Create the Insert button:
    1. In the
      Project view
      pane, expand the
      UI
      folder.
    2. Right-click
      MainWIndow (type)
      and select
      New
      Base controls
      Button
      .
    3. Hover-over the button, select
      Add
      , and enter
      InsertButton
      .
    4. In the
      Properties
      pane, in the
      Text
      field, enter
      Insert Random Data
      .
  2. Create the Run Query button:
    1. Right-click
      MainWIndow (type)
      and select
      New
      Base controls
      Button
      .
    2. Hover-over the button, select
      Add
      , and enter
      RunQueryButton
      .
    3. In the
      Properties
      pane, in the
      Text
      field, enter
      Display Query in Label
      .
  3. Create the query result label:
    1. Right-click
      MainWIndow (type)
      and select
      New
      Base controls
      Label
      .
    2. Hover-over the label, select
      Edit
      , and enter
      QueryResultLabel
      .
    3. In the
      Properties
      pane, in the
      Text
      field, enter
      Query Results...
      .
  4. Arrange the interface elements.
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.