Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Howto:Canvas dialog examples

570 bytes added, 17:59, 22 October 2017
no edit summary
=== Introduction ===
This dialog is the 'front end' of the extra500 failure system. It uses Canvas only and has several pages and interactive elements. All pages are .svg designed.
We will look at the code and try to explain what is does. It focuses on  The dialog is set-up like a normal nasal namespace: <nasal> <Dialogs> <file>Aircraft/extra500/Dialogs/failuredialog.nas</file> </Dialogs> </nasal>. And called (opened) though a menu entry in /Dialogs/extra500- canvas interaction onlymenu.xml just like any other classical menu entry. <item> <name>Failure-dialog</name> <label>Failure Dialog</label> <binding> <command>nasal</command> <script><![CDATA[ Dialogs.Failuredialog.openDialog(); ]]></script> </binding> </item> This means there needs to be a loaded Class called failuredialog with an internal function called openDialog.
=== File structure ===

Navigation menu