ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<Image variable>.Crop (Function)
Returns the cropped part of an image. This image is found in an Image variable.
<Image variable>.AlphaBlend (Function)
Blends two images together. This allows you to create fade-in effects between 2 images.
<Image variable>.DrawHalo (Function)
Adds a halo effect on an image found in an Image variable].
<Image variable>.EncrustColor (Function)
Encrusts a color in an image found in an Image variable].
<Image variable>.InvertColor (Function)
Inverts the colors in an Image variable.
<Image variable>.ModifyLightness (Function)
Modifies the lightness of an image in an Image variable.
<Queue variable>.Info (Function)
Retrieves the characteristics of a queue: types of elements and number of elements.
<Stack variable>.Info (Function)
Retrieves the characteristics of a stack: types of elements and number of elements.
<Pivot table>.SelectCount (Function)
Returns the number of selected cells in a Pivot Table control.
<hdfsConnection variable>.Delete (Function)
Deletes a file or directory from a Hadoop server.
<hdfsConnection variable>.CopyFrom (Function)
Copies a file found on a Hadoop server to the local computer.
<hdfsConnection variable>.CopyTo (Function)
Copies a file located on the local machine to a Hadoop server.
<hdfsConnection variable>.CreateDirectory (Function)
Creates a directory on a Hadoop server.
<hdfsConnection variable>.CloseConnection (Function)
Closes a connection to a Hadoop server.
<hdfsConnection variable>.List (Function)
Lists the content of a directory found on a Hadoop server.
<hdfsConnection variable>.OpenConnection (Function)
Opens a connection to a Hadoop server.
<hdfsConnection variable>.Rename (Function)
Renames a file or a directory found on a Hadoop server.
<wsRequest variable>.AddSAMLAssertion (Function)
Adds a SAML assertion to a Webservice request.
<xsdEntity variable>.AddAttribute (Function)
Adds an attribute to an automatic variable generated by the import of a Webservice.
<wsRequest variable>.addXMLSignature (Function)
Adds an XML signature to a Webservice request.
<xmlNode variable>.FindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
<xmlNode variable>.FindNamespaceByURI (Function)
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents...
<xmlDocument variable>.BuildString (Function)
Retrieves and formats the content of an XML document.
<xmlDocument variable>.ValidDocument (Function)
Validates an XML document from an XSD schema.
<xmlDocument variable>.ExecuteXPath (Function)
Executes an XPATH query in an xmlDocument variable.