|
Root Panel |
Top Previous Next |
|
Root panel is a special type of Panel container that has several additional properties and events. Custom Properties This section describes properties of the root panel of the widget. Ignore Binding Errors If this option is enabled, any binding errors that occur during widget execution are not shown to the user in error dialog. Instead, they are just written to the log file or console (see logging topic for more information). If this option is disabled (this is a default), bindings errors are both logged and shown to the user. Property name: ignoreBindingErrors Property type: Boolean This property contains a list of all bindings available in the widget template. See the bindings article for more information about bindings and their parameters. Property name: allBindings Property type: Data Table This property contains the table of widget scripts. There are two columns: Name and Code. Name is the script name. It it used to refer to this script from widget bindings. Code contains text of a class implementing WidgetScript interface, i.e. script code.
Property name: scripts Property type: Data Table Common Events Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost Custom Events This event may be triggered by a button having a Submit action in its actions list. Event name: submit This event may be triggered by a button having a Reset action in its actions list. Event name: reset Close This event may be triggered by a button having a Close action in its actions list. Event name: close |