Add a dialog box type

Add a dialog box type

Add a dialog box type and configure child objects.
  1. In
    Project view
    , right-click
    UI
    and select
    New
    Folder
    .
  2. Hover-over the folder, select
    Edit
    and enter
    Dialogs
  3. Right-click the
    Dialogs
    folder and select
    New
    Containers
    Dialog box
    .
  4. Add a button to close the dialog:
    1. Right-click
      DialogBox1 (type)
      and select
      New
      Base controls
      Button
      .
    2. In
      Properties
      , in
      Text
      , enter
      Close
    3. In
      Events
      , next to
      MouseClick event
      , select
      Add
      and select
      ProjectName
      UI
      Dialogs
      DialogBox1 (type)
      Close
      .
  5. (optional) Add more child elements to the dialog box.
    For example, add a rectangle and a label. For more information, see Graphic objects.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal