
HMGSCRIPT 2012 FUNCTION REFERENCE (R006)
----------------------------------------


WINDOW: 
-------

Element: DIV 

You can use all the properties, events and methods availables for it via DOM.

Syntax:

	Window( cId , cCaption , nWidth , nHeight )



BUTTON: 
-------

Element: INPUT (Type: BUTTON)

You can use all the properties, events and methods availables for it via DOM.

Syntax:

	Button( cId , cParentId , nRow , nCol , cCaption , cOnClick )



LABEL: 
------

Element: SPAN

You can use all the properties, events and methods availables for it via DOM.

Syntax:

	Label( cId , cParentId , nRow , nCol , cValue )



TEXTBOX: 
--------

Element: INPUT (Type: TEXT)

You can use all the properties, events and methods availables for it via DOM.

Syntax:

	TextBox( cId , cParentId , nRow , nCol , cValue )



IMAGE: 
------

Element: IMAGE

You can use all the properties, events and methods availables for it via DOM.

Syntax:

	Image( cId , cParentId , nRow , nCol , cSrc )



MSGINFO: 
--------

Syntax:

	MsgInfo( cMessage , cCaption )



RELEASE:
--------

Releases a window.

Syntax:

	Release( cId )


CONNECT:
--------

Creates a websocket connection.

Syntax:

	Connect()


SENDMESSAGE:
------------

Send a message to a websocket server via the current open connection.

Syntax:

	SendMessage( cText , eventlistener )


	Eventlistener is the name of the function that will be automatically executed 
	when the response be received.

	The response will be stored in the server_response global variable.



DISCONNECT:
-----------

Closes a websocket connection.

Syntax:

	Disconnect()

