Select Custom Calculation Script, click Edit, and then enter your custom JavaScript code in the JavaScript Editor dialog box.
Wählen Sie Benutzerdefiniertes Berechnungsscript, klicken Sie auf Bearbeiten, und geben Sie dann Ihren benutzerdefinierten JavaScript-Code im Dialogfeld "JavaScript-Editor" ein.
In the JavaScript script editor, you can access the Intrexx Library for Mobile Devices and Intrexx Standard Library on the Libraries tab.
Im JavaScript-Editor haben Sie im Bereich Bibliotheken Zugriff auf die Intrexx Bibliothek für mobile Endgeräte und die Intrexx-Standardbibliothek.
For example drag and drop some blocks and try your program on the Simulator in the Javascript Blocks Editor, like in the image below
Ziehe z. B. einige Blöcke per Drag&Drop und teste dein Programm auf dem Simulator im Javascript Blocks Editor, wie im Bild unten dargestellt
In the JavaScript Editor you can create and edit JavaScript functions which then become available in the GUI for use in the SPS.
In the Properties sidebar, global functions defined in the JavaScript Editor are available as event handlers in the dropdown boxes of each event in the Events property group for the selected component (screenshot below).
In der Seitenleiste "Eigenschaften" stehen die im JavaScript Editor definierten globalen Funktionen als Ereignis-Handler in den Dropdown-Feldern der einzelnen Ereignisse in der Eigenschaftsgruppe Ereignisse für die gewählte Komponente zur Verfügung (Abbildung unten).
In the GUI, all JavaScript functions which are defined for a given SPS in the JavaScript Editor are listed in the Design Tree window under the Scripts entry (screenshot below).
Auf der Benutzeroberfläche werden alle JavaScript-Funktionen, die im JavaScript Editor für ein bestimmtes SPS definiert wurden, im Fenster "Design-Struktur" unter dem Eintrag "Skripts" aufgelistet (Abbildung unten).
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.