imageweb 1.0

Category / Domain : Interface
SCOL Voy@ger Compatibility : V 3.5 or above
Update : 2004/06

Function

This module displays an image jpg or bmp stored on a Web server. It also makes it possible to dynamically change the link since the server.

Configuration


Figure 1 : Interface of the imageweb module

init url => url initiale (you must enter a valid urll).

flag => the file is displayed : stretched or centered or wholed or tiled. By default, the image will be stretched.

button => the name of button (to open 'admin')

Note : if an error occured during the request then "network error" will be displayed.

- ADMIN :

Enter a valid url and clic on Save. It will be stored in the *.dms and the new file will be displayed at all clients

Implementation

Action Function
shell.start à imageweb.start starts and displays the module imageweb at the client
module.événement à imageweb.destroy destroys the module imageweb at the client
module.événement à imageweb.newAll

Display the file at all clients. The parameter must be :

http://www.server.com/dossier/file.jpg
flag

with flag : 0 = stretched ; 1 = centered ; 2 = wholed ; 3 = tilde. If no flag the current flag will be used.

module.événement à imageweb.show

show image

module.événement à imageweb.hide

hide image

module.événement à imageweb.new

Display the file at a clients. The parameter must be :

http://www.server.com/dossier/file.jpg
flag

with flag : 0 = stretched ; 1 = centered ; 2 = wholed ; 3 = tilde. If no flag the current flag will be used.


Event Function
imageweb.destroyed à module Action the module is destroyed
imageweb.chgAdmin à module Action l'url has changed since the server (the parameter give the new url)
imageweb.shown à module Action

the image is shown

imageweb.hidden à module Action the image is hidden
imageweb.error à module Action an error occured during the request (the code get in the parameter)
imageweb.loaded à module Action the image is loaded

Zone Function Interface Assignment
imageweb.Button Button top open the admin Server No
imageweb.Image image to display Client Yes