Project

General

Profile

On DIALOG » History » Version 19

Per Amundsen, 11/18/2015 03:24 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>on <level>:DIALOG:<name>:<event:<id></notextile>*
4
5
Triggers when a dialog item state is changed, e.g clicking a button or types text in a Editbox.
6
7
_See also [[$dname]], [[$devent]], [[$did]], [[/dialog]]._
8
9 19 Per Amundsen
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<name> - The dialog name that this event triggers for; wildcards accepted.
13
<event> - The dialog event that this event triggers for; wildcards accepted.
14
<id> - The id name of the dialog item to listen for; wildcards accepted. Multiple IDs can be specified in the form: 1,2,3,4-8,9
15
<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
|edit | When text in an editbox or a combo box has changed.|
25
|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.|