scripting:dialogs:button

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:button [2015/03/26 15:05] – [Events] adminscripting:dialogs:button [2018/01/10 20:41] (current) – external edit 127.0.0.1
Line 14: Line 14:
 | **align**    | stretched | [[scripting:dialogs:align|Alignment]] of the control |   | **align**    | stretched | [[scripting:dialogs:align|Alignment]] of the control |  
 | **positive**    | false | Indicates //positive// buttons that shall be disabled if all required fields on dialog are not filled |   | **positive**    | false | Indicates //positive// buttons that shall be disabled if all required fields on dialog are not filled |  
-| **returnval**    | empty | Dialog return value. There are some predefined return values as "ok" or "cancel" that lead to closing of the dialog. |   +| **returnval**    | empty | Dialog return value. If there is no //onclick// event is bound, dialog will be automatically closed, after button click and //returnval// is returned by [[scripting:api:application:dialog|Application.dialog(...)]].|  
  
 ===== Events ===== ===== Events =====