On DIALOG » History » Version 24
Per Amundsen, 05/24/2018 10:09 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 20 | Mr. BS | *<notextile>on <level>:DIALOG:<name>:<event>:<id></notextile>* |
4 | 1 | Per Amundsen | |
5 | Triggers when a dialog item state is changed, e.g clicking a button or types text in a Editbox. |
||
6 | |||
7 | 21 | Per Amundsen | _See also [[$dname]], [[$devent]], [[$did]], [[/dialog]], [[$dialog]], [[Dialog Items]]._ |
8 | 1 | Per Amundsen | |
9 | 19 | Per Amundsen | *Parameters* |
10 | |||
11 | 22 | Per Amundsen | <level> - The [[User Access Level]] for the event to trigger. |
12 | 24 | Per Amundsen | <name> - The dialog name that this event triggers for; [[Scripting_Wildcards|wildcards]] accepted. |
13 | <event> - The dialog event that this event triggers for; [[Scripting_Wildcards|wildcards]] accepted. |
||
14 | <id> - The id name of the dialog item to listen for; [[Scripting_Wildcards|wildcards]] accepted. Multiple IDs can be specified in the form: 1,2,3,4-8,9 |
||
15 | 19 | Per Amundsen | <commands> - The commands to be performed when the event listener's criteria is met. |
16 | |||
17 | 18 | Per Amundsen | *Events* |
18 | |||
19 | 17 | Per Amundsen | |*Event*|*Description*| |
20 | 11 | Per Amundsen | |active | Triggers when the dialog is made active.| |
21 | |close | Triggered when a dialog has been closed.| |
||
22 | |dclick | Occurs when a double left-click has occurred in a list box or combo box, as well as on the dialog itself.| |
||
23 | |drop | Triggers when an item has been dragged and dropped with the mouse.| |
||
24 | 23 | Per Amundsen | |edit | When text in an [[Editbox Control|Editbox]] or a combo box has changed.| |
25 | 11 | Per Amundsen | |init | This event ID is 0, and triggers before a dialog is displayed. This allows initialization time for the dialog and its items.| |
26 | |menu | Whenever a menu-item is selected.| |
||
27 | |mouse | When the mouse is moved.| |
||
28 | |rclick | Works when the mouse right-clicks.| |
||
29 | |sclick | Occurs during a single-click in a list box/combo box, during check/uncheck of radio/check buttons, or during the click of a button.| |
||
30 | |scroll | A scrollbar control position has changed.| |
||
31 | |uclick | Left mouse button has been released/gone up.| |