scripting:dialogs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
scripting:dialogs [2015/02/04 12:57] – [Creation] adminscripting:dialogs [2018/01/10 20:36] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Creation ====== ====== Creation ======
 +
 +{{ :scripting:example_dialog.png?100|Example dialog}}
 +\\
 Creation of the dialog controls can be done using [[scripting:api:script-application:start|Application]] method [[scripting:api:application:dialog|dialog(...)]]. Creation of the dialog controls can be done using [[scripting:api:script-application:start|Application]] method [[scripting:api:application:dialog|dialog(...)]].
-<file javascript >+<file javascript dialog_example.hejs>
 var result = dialog('@<dialog title="Test dialog"> \ var result = dialog('@<dialog title="Test dialog"> \
  <button title="&amp;OK" returnval="ok" default="true"/> \  <button title="&amp;OK" returnval="ok" default="true"/> \
Line 7: Line 10:
  </dialog>@');  </dialog>@');
 </file> </file>
- 
 ====== Supported controls ====== ====== Supported controls ======
 HippoEDIT supports basic set of UI and layout controls for creating minimal user interface for interacting with a user.  HippoEDIT supports basic set of UI and layout controls for creating minimal user interface for interacting with a user.