Interface Examples

by Forum_account
Simple examples of how to use my interface library. [More]
To download this demo for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Forum_account.InterfaceExamples##version=2

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Forum_account.InterfaceExamples##version=2

690 downloads
Version 2
Date added: Aug 24 2010
Last updated: Feb 25 2012
2 fans
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.