Using dialogs to interact with the user

You can use dialogs to display controls to the user, and just with dialogs in Windows and other operating systems, they can be closed by tapping the close (X) button in the top corner.

The dialogs also support help via the help button in the same way as pages on a Kiosk2Go device. For more information, see Adding context sensitive help to a Kiosk2Go control.

Note: Currently, you cannot drag a dialog to reposition it.

To add a dialog to your design

  1. In the device tree, expand the Graphic Elements & Blocks / Kiosk2Go Layouts folder.
  2. Drag a K2G Dialog device over to the design page.

    The Kiosk2GoDlg Layout Properties dialog box is displayed.

  3. If you want to change the dimensions of the dialog, type the new values into the Height and Width boxes.
  4. If you want to change the name of the dialog, type a new name in the Dialog Name box.

    Note: Each dialog must have a unique name.

  5. In the Dialog Type box, click an option to specify the visual style of the dialog.

    Standard

    Dialog with titlebar, help button and close button.

    No Titlebar

    Dialog with help button and close button, but no title bar.

    Empty Frame

    Dialog with controls only. No titlebar, help button, close button or border are shown. (A dotted border is shown in the example to illustrate that the dialog size has not changed.)

    Notes:

    • If a background image is added to the dialog in NWare, it will be displayed in Kiosk2Go.
    • If you want to add a help button or close button to an empty frame dialog, you must add the button to the dialog manually in NWare, then assign a special alias to it on the Wiring tab: helpbutton or closebutton.

     

  6. If you want to add a drop shadow to the dialog, select the Drop Shadow check box.

    Note: This setting is only valid for the Empty Frame dialog type.

    Here is an example.

  7. Click OK.
  8. Double-click the Kiosk2GoDlg block to open it.
  9. Add Generic Controls to your design page, and then copy and paste them over to the dialog.

    In the example below, a label and a button have been added. For more information, see Adding controls to the Kiosk2Go Layout device.

To open the dialog from a button

  1. Add a boolean generic control to your design page.
  2. Open a Kiosk2Go device and copy and paste the button from inside the generic control onto one of the pages.
  3. Display the button control properties.
  4. On the Type tab, under Popup Dialog, select the Enable Dialog Popup check box.
  5. In the Dialog list, click the name of the dialog you want to link to the button.
  6. Click OK.

    When the user taps the button in a browser, the dialog will be displayed.

In this section

Using custom help and close buttons on dialogs

See also

Introduction

Adding a Kiosk2Go Layout device

Understanding the layout of the device

Adding controls to the Kiosk2Go Layout device

Setting up the MediaMatrix node for Kiosk2Go

Setting up user access for Kiosk2Go

Displaying an image when the connection to the project is lost

Testing the Kiosk2Go project in a browser

Using controls in Kiosk2Go

Linking Kiosk2Go devices together

Creating a browser bookmark to automatically log on to Kiosk2Go

Creating a shortcut to start Kiosk2Go full screen