Interface Examples

by Forum_account
Simple examples of how to use my interface library.
ID:112899
 
Note: When you run a demo, make sure you only have one example file (example-1.dm, example-2.dm, etc.) selected. If multiple example files are checked off they might do conflicting things and not work properly.

This demo contains small examples of how to use my Interface library.

The library provides two main things:

1. A simpler way to deal with interface controls. Instead of calling winset to change the text displayed on a label, you can use the label.Text() proc.

2. Better ways to interact with the browser. You can call JavaScript functions from DM and DM functions from JavaScript.

Because the HTML/JavaScript features are new to BYOND, more of the examples are about that. I will be adding more examples for both interface and HTML/JS.