Carapace

Carapace Emulator on a Web Page

Microsoft's browser InternetExplorer can display ActiveX controls using the <OBJECT> tag. Since the Carapace Emulator is an ActiveX control, it can be embedded in web pages which are viewed using InternetExplorer.

Once embedded, the Emulator object can be manipulated through its methods and properties using JavaScript or VBScript.

Assuming you have Carapace installed on your local machine, this web page contains a rectangle which is the Carapace Emulator as follows. Indeed, clicking the button called position text you should be able to write text anywhere on the Emulator display. This button is linked to a simple JavaScript function which, in turn, invokes the setText method on the Emulator.

The Emulator is not able to modify other elements on the web page. However, the comms agent for the Emulator is a scripted object and as such it is the flexibility to modify the web page. This is useful for enabling/disabling buttons on the page or changing the colours of elements when the communication state changes etc. Click here to see how Carapace objects can modify web pages displayed within Microsoft's InternetExplorer.


Contents Index Current topic: communications Related topics: communications classes, objects